Accessing wordpress front page on another local machine gets redirected to ‘localhost’

I have set up XAMPP and WordPress on a local virtual machine whose IP is 192.168.7.43.

While I try to access the front page ( entering “192.168.7.43/wordpress” in the browser), the URL gets changed to “localhost/wordpress” and shows connection error.

All the other pages are accessible (eg. “192.168.7.43/wordpress/blog” or “192.168.7.43/wordpress/download”.)

Only the page I assigned as front page would have this problem.

“siteurl” and “home” in wp-options are both set to “http://192.168.7.43/wordpress/“.

What else did I miss or have possibly done wrong?

Read more here: Accessing wordpress front page on another local machine gets redirected to ‘localhost’

Leave a Reply

Your email address will not be published. Required fields are marked *