• 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

Viewing 4 replies - 1 through 4 (of 4 total)
  • This one works for me:
    https://www.philipharland.com/Blog/2007/10/09/over-100000-served/

    The strange temporary URLO’s don’t work because in your database the two URI values (home and site_url) contain the domain, not that ~whatever thingy…

    Thread Starter pharland

    (@pharland)

    Thanks for this. Yes, https://www.philipharland.com/Blog/2007/10/09/over-100000-served/ works for you and for me, because it is the site on the older server which is still working; I just supplied it for background information. The main concern I have is with the new server and whether the blogs will work. Still unexplained is the fact that it does not work without an additional “index.php” on the new site and it does work with that additional “index.php”. How does that relate to the solution to this problem? Why is it working with an additional index.php?

    I’d appreciate any further explanations of the problem or suggestions on how to solve this.

    Phil

    This does not work (but should)

    Wrong assumption. Read again my previous post: in your database you have stored two URI values, set in the admin > Options > General. You said you did NOT change anything in the DB, which means the URLs are = your domain.
    And now you are trying to display it with a different URL.

    Patience, until the new name servers propagate…

    Thread Starter pharland

    (@pharland)

    I just realized I forgot to come back here and say that all was resolved once the dns pointers went to the new site.

    Phil

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Moving to new server- WP now expecting index.php in all blog pages’ is closed to new replies.