Site Loader

For one reason or another, we may want to move a WordPress site from one server to another. I’ve read about many ways to do this, but for some reason, I find they contain too much “paparazzi” for my liking. Therefore, I’m going to describe how to do this in 7 short steps.

Step 1:

Back up your WordPress site. I suggest using the plugin BackUpWordPress.

Step 2:

Download the backup file (usually in .zip format).

Step 3:

Create the database and user on the new server.

Step 4:

Unzip and upload the backed-up WordPress site to your new server.

Step 5:

Edit the wp-config.php file to contain your new database details and re-upload it.

Step 6:

Login to your database using phpMyAdmin and upload the .sql file contained in the backup folder. Change the site url to reflect the new url; To do this, go to General under Settings and change the WordPress Address (URL) and Site Address (URL) fields to reflect the new url.

Step 7:

Visit your new site and make sure everything is in order. Don’t forget to point your domain name to the new server by changing the nameservers. Please ensure you access the newly migrated site using the IP address and ensure everything is okay before changing the nameservers.

Voila! Well done :smile:

If you encounter any issues or find a better way to do this, drop me a comment and I’ll check it out ASAP. Feedback, suggestions and/or corrections will be appreciated. Cheers.

Post Author: ese

4 Replies to “Moving a WordPress Site from one Server to Another”

  1. well, well, well, just like stuarthStuart highlighted.
    Some funny things might just happen using plugins because some plugins are not in good terms(compatible) with others when you install them in one home (directory) they start fighting u know.
    I think the manual download of backup from the former site is also a good old fashioned way. you will then upload to your new server using Ftp/Sftp. But do not forget the DATABASE tweekingz.
    this is good blog ESE-O, keep it up.

    1. Hey Vincent, I agree with you. Some plugins are incompatible with others and might even cause issues on your server, however not all of them.

      I’ve personally encountered some problems with one or two plugins and the quickest way to fix this for me was to rename (de-activate) all the plugin directories and re-activate them one after the other to detect the culprit. So in my opinion, you can’t completely avoid plugins, but they should be used based on necessity.

      Back to the topic at hand, i think BackUpWordPress is *so far* a total angel and saves you the hassle too 🙂

      Thanks for contributing and don’t forget to check back often.

Leave a Reply

Your email address will not be published. Required fields are marked *