I am trying to move a WordPress from one server to another, and have the URL point to the new server. Currently I have a copy of the site on both the old server and new server, however the URL still points to the old server.
I want to test to make sure that the site works on the new server before I make any DNS changes though.
On the new server, I edited the current theme’s functions.php file and included the following lines immediately after the opening
<?phpso that it points to the temporary http://IP/~username
If you click on the old server link, the site looks exactly how it should. If you click on the new server link, everything looks exactly how it should except for the home page. All the other pages display just fine.
I can’t figure out why the new server doesn’t display the home page correctly, but all the other pages seem to display just fine?
- The topic ‘WordPress URL change home page not displaying’ is closed to new replies.