Steps to follow to avoid downtime while migrating your word press website to a new Web host:
1. Back up all your files before transfer to your new web host
Be sure to back up all your databases and website files. This is the most important part for two reasons.
- Your databases are covered in case the process goes wrong.
- You are sure to transfer the latest version of your website to your new web host.
After back up is complete, you can now proceed to transfer files and databases to the new host. It is recommended that you use FTP programs like FileZilla for the transfer. You can check with the new host company whether they provide website migration services to save you the trouble of executing the process yourself.
2. Check your imported database
In the unlikely event that something goes wrong while importing the database it is most probable that the imported database may have been corrupted. If this happens you can employ three things;
- Re-upload your database while over writing the previous database
- Use phpMyAdmin to repair the database manually.
- If the above is not successful then you will need to call your new hosting company to help you configure your MySQL database correctly.
3. Change your Domain’s name server
Now that all necessary files and databases have successfully moved to the new hosting company, the next step is crucial.
Your new hosting company will have provided you with the name of servers. Change your domain’s name servers to the name of your new hosting company. If not, your website will be unavailable once you close your old account.
This will direct your visitors to your new hosting account. Ordinarily, you will maintain the same web traffic as before.
4. Check for broken links
Broken links might arise as a result of moving content to a different location without redirecting to the new location. To avoid this, check all links on your website to make sure they can be accessed.