Just follow these steps exactly – don’t add any extra steps or try to do anything that isn’t on the list.

Step 1: Download the files from the old site. Not just the theme, the entire installation home directory with all the files.

Step 2: Export your database from your old site to an sql file using phpMyAdmin or something similar.

Step 3: Upload old files to new host.

Step 4: Import old database into new site database

Step 5: Change database info in your wp-config.php file to point to your new database.

Step 6: Use this https://github.com/interconnectit/Search-Replace-DB (the searchreplacedb2.php file is the one you need) and upload it to your home directory. Follow the steps and replace your old domain with your new domain when it asks for a string to search and replace.

If you are hosting it in a directory then include the directory. For example:

If you are moving from http://pizzastore.com to http://pizzapie.com/pizza then your find string would be pizzastore.com and the replace string is pizzapie.com/pizza.

Run the script, delete the file when it’s done and you are prompted (make sure it gets deleted).

Go to your permalink settings on your new site under settings in your dashboard and hit save.

Congrats, you have moved your WordPress site.

Leave a Reply