WordPress.org

Ready to get started?Download WordPress

Forums

Migrating WordPress to New Server? (8 posts)

  1. go4java
    Member
    Posted 2 years ago #

    Hi,
    I found somewhere the following migration steps:

    1. wp-db-backup backup of database - DONE
    2. set up wordpress on your NEW host
    3. copy wp-content, wp-admin, wp-includes to new host
    4. open database backup file (step 1), search and replace your old blog url with your new one. Also, if needed, search and replace your old admin email address with a new one.
    5. launch phpadmin on your NEW host. Drop all wp tables. Go to import and load the database file.
    7. test access to the blog

    So far, all steps worked well without errors.

    When testing the URL in step 7, there was a WordPress form asking for admin details (name and password), name of the site and after that, the plain wordpress homepage opened, no database entry from my previous site.

    Did I do something wrong or missed any migration step?

    Thanks!

  2. talk2binayak
    Member
    Posted 2 years ago #

    Yah But when i tried this for my site GoBlogging it is showing 404 error when i am clicking in every post. I fixed it by updating the permalink. Otherwise your process is fine. You just add the permalink update in case someone gettting error like this.

  3. go4java
    Member
    Posted 2 years ago #

    Thanks. What exactly do you mena with "updating the permalink", What exactly to do, which files etc.?

  4. go4java
    Member
    Posted 2 years ago #

    ...I've been changing the PERMALINK setting in WordPress to be .../YYYY/MM/DD... (same setting as in the old version).
    After this change I now get a "Forbidden, you don't have permissions to access /wordpress/ on this server" message :-(
    There must be something wrong.
    Thanks for your help on this.
    BR

  5. fonglh
    Member
    Posted 2 years ago #

    there was a WordPress form asking for admin details (name and password), name of the site and after that, the plain wordpress homepage opened, no database entry from my previous site.

    This means you've missed the import step. Either that or the wp-config.php file is not pointing to the right database with your previous site's data.

  6. govpatel
    Member
    Posted 2 years ago #

    2. set up wordpress on your NEW host
    3. copy wp-content, wp-admin, wp-includes to new host

    Did you set up same version wordpress in step 2

    step three you can only replace wp-content folder

  7. go4java
    Member
    Posted 2 years ago #

    @govpatel:
    - Yes, same version 3.1.1.
    - so I should just copy "wp-content", not all three as per guidance above?

  8. govpatel
    Member
    Posted 2 years ago #

    Normally wp-content folder is the only only one that has your data as wp-admin and wp-includes are folders where none of chnages are saved.

    The only thing that connects to your database is wp-config.php file and as @fonglh suggested recheck your database see if you have your data there from old install.

Topic Closed

This topic has been closed to new replies.

About this Topic