WordPress redirecting home to localhost

Posted on

Question :

I installed wordpress on my localhost for testing, then I tried to migrate to a domain, I made the changes in siteurl and home and I also updated the links of the posts it had, everything is working correctly except for the home page that should load on mydomain.com but is redirecting to localhost. The other pages are all working, for example if I access mydomain.com / whatsoever it loads normal, the admin is also normal.


Answer :

Go to settings > General and change the fields:

WordPress address (URL) and
Site address (URL)


Leave a Reply

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