Moving a WordPress site to a new host

Time comes when we need to fly the coop and consider moving a WordPress site to a new host who has better service, price or performance.

Some hosts will transfer your site for free but, often we have more than one. So we’re back to doing it ourselves.

The general process is to create a new installation of WordPress and import everything from your current host then transfer the hosting by changing the A Name record. If your new version has issues, you can change the A Name back whilst you work on the issue. Only delete the old site when you are 100% sure the new one is performing as it should.

I use the UpDraft plugin but there are plenty of others.

  1. Back up the Database (The .sql file)
  2. Compress the wp-content folder into a .zip file (Zip works best)
  3. Head to the new server
  4. Install a clean version of WordPress (Either one-click or manually)
  5. Upload the wp-content.zip folder
  6. Delete the old wp-content and unzip the new version to replace it
  7. Head for PhP MyAdmin
  8. Select the database in the left menu that you will be working with
  9. Click Import in the top menu
  10. Under File to Import, click Browse and select the backup file you previously created (it will be either a .sql .zip or .tar.gz file).
  11. Click Go at the bottom right
  12. When the database has been imported successfully, you should see a message at the top of the page similar to: Import has been successfully finished, ## queries executed.
  13. Now change your A Name records at your domain registrar to move the site.