Moving to new server- WP now expecting index.php in all blog pages
-
Hello,
I am in the midst of moving my two WordPress blogs (both 2.0.5 and both in the same database) to a new server but the domain name will remain the same. All files have been moved over. The moving help page says:
“Note: If you are changing to a new server but same domain, all you need to do is edit wp-config.php and upload everything as it is to your new server.”This has been what I did. So I have edited the wp-config.php file to match the new info. When I attempt to test the two blogs on the new server’s (which are in the same database as before, but with different names in the wp-config file) temporary site ip address, I get the message:
“Not Found. The requested URL /Blog/index.php was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to hand the request”
So I tried something, namely adding in a “index.php” into what used to be the working sub-directory and post names. FOr example:
This does not work (but should) on the new server at the test stage:
https://207.218.248.97/~pharland/Blog/2007/10/09/over-100000-served/
This does work (but should not):
https://207.218.248.97/~pharland/Blog/index.php/2007/10/09/over-100000-served/
Ultimately, once tested and working (and once the dns pointers are changed), this address would be (still functioning on my old server):
https://www.philipharland.com/Blog/2007/10/09/over-100000-served/
My question is why are both of the blogs (in which nothing has been changed except the wp-config.php to match the new server) not working and expecting an extra “index.php” in the middle? What do I need to modify for things to work again as they always did on the old server? Does this have something to do the temporary site (the ipnumber) which soon will have the dns pointing to philipharland.com? Or is it something I need to correct before making those changes?
Thanks for any help.
Phil Harland
- The topic ‘Moving to new server- WP now expecting index.php in all blog pages’ is closed to new replies.