Home > Net >  wordpress in lan, can access wp-admin, but the website always redirected to localhost
wordpress in lan, can access wp-admin, but the website always redirected to localhost

Time:07-27

hi i have question about wordpress. i'm already configure siteurl and home as static lan ip.

in another lan computer i can access the admin dashboard wp-admin, http://ipaddress/wordpress/wp-admin

but the wordpress website always redirect to localhost, when i type ipaddress/wordpress. how can i fix this?

  • I've already changed the configuration in wordpress admin in setting, general.
  • I've already changed the httpd.conf to listen to ipaddress
  • I've also tried adding lines in wp-config.php but still failed...

CodePudding user response:

In wp_options table, changed the option_name= siteurl and home option_value to the your ipaddress url

  • Related