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.
- Back up the Database (The .sql file)
- Compress the wp-content folder into a .zip file (Zip works best)
- Head to the new server
- Install a clean version of WordPress (Either one-click or manually)
- Upload the wp-content.zip folder
- Delete the old wp-content and unzip the new version to replace it
- Head for PhP MyAdmin
- Select the database in the left menu that you will be working with
- Click Import in the top menu
- 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).
- Click Go at the bottom right
- 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.
- Now change your A Name records at your domain registrar to move the site.