Support » Installing WordPress » Migrating WordPress to New Server?

  • 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!

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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.

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

    …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

    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.

    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

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

    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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Migrating WordPress to New Server?’ is closed to new replies.