Ready to get started?Download WordPress


Migration Errors (6 posts)

  1. cchs
    Posted 3 years ago #

    PROBLEM: All my pages and posts return 404 errors after migration.

    This is what I did:

    From my original server (Server A):
    1. exported the mysql database to my desktop
    2. downloaded all wordpress files to my desktop


    To my new server (Server B):
    3. Uploaded all wordpress files from my desktop
    4. Created a new database
    5. Uploaded all wordpress files to my new server
    6. Edited the DB_NAME, DB_USER, DB_PASSWORD and DB_HOST settings in the wp-config.php file on the new server.

    At this point the site looked and worked great on the new server.

    BUT, I noticed that when I clicked on any link (image, page, post) it redirected to the files on my old server.

    7. I installed the Search & Replace plugin to change all the initial URL strings from server A to server B. Everything worked fine, but pages and posts were still redirecting to the Server B.

    This is where I went wrong:

    8. In the General Setting section of the wordpress admin tool I changed the WordPress Address and Site Address settings to reflect the new server location.

    That's when everything stopped working.

    I've deleted the database and all the wordpress files on the new server and repeated steps 3-6 above. The home page shows up ok, but clicking on anything gives now me a 404 error.

    Bizarrely, the same is also now true for Server A.

    Any help?

    Server A: http://ww.minesf.com/clients/bunmee
    Server B: http://www.bunmee.co

  2. govpatel
    Posted 3 years ago #

    Reset your permalinks switch to default and see if links are working and if they do work switch back to custom structure.

  3. cchs
    Posted 3 years ago #

    That worked! Thanks!!

    So now I'm back to where I was: The site is working but the new server is still pulling all its content and links from the old server.

    Any tips on how to make that migration without totally f*ing it up again?

  4. govpatel
    Posted 3 years ago #

    Did you change your urls in Settings General and looks like permalinks are at default

  5. cchs
    Posted 3 years ago #

    Brilliant! I'm all set. You've saved me a ton of agony and grief. Thank you!

  6. govpatel
    Posted 3 years ago #

    You are welcome

Topic Closed

This topic has been closed to new replies.

About this Topic