WordPress is the preferred platform for around 20% of global websites, and the majority of Internet marketers use this CMS to publish their content. The popularity of WordPress has grown due to its ease of use – but when it comes to moving a WordPress website between hosts things can get a little bit tricky. The following is a guest post by the IT Support London HQ team who have had to transfer hundreds of WordPress websites between different hosts for many clients. These steps should be easy to follow and understand – please feel free to comment with any questions for them if you want any further clarity.
Back-Up Process & Downloads
Your first steps are to back-up the website including any plugins, themes, uploads, and most importantly the database. You will need to access phpMyAdmin via your hosting control panel, select the right database and select the tab that says “Export”. Once exported you can download the database by using the “Go” button. Remember where you have downloaded it so you can find it later.
You also need to download any content that is stored inside the wp-content folder of the website. The easiest way to do this is via FTP. The wp-content folder includes items like images and uploads.
Installing WordPress on the New Hosting
Now you can install WordPress on your new hosting. Once installed, use your preferred FTP program to upload the wp-content folder. This will mean all your images and uploads will be ready for the database install.
Prepare the Old Database
The old database will need to be edited so that it refers to the correct URL within in any stored data. You can do this using a tool called Search-Replace-DB. Using this tool, replace the URL string. As an example, the saved database will probably have something like http://localhost/yourwebsite.com. You will need to change that instead to http://yourwebsite.com. Please be aware, that this replace function will probably need to be done quite a few times, as your URL reference will occur in multiples within the database.
Drop (Delete) the Database on the New Hosting
If your new hosting uses an automatic WordPress installer like Fantastic Deluxe then they automatically create a WordPress database each time you have a new website set-up. You can ignore this step if this isn’t the case. If it is though, you will need to “drop” the fresh database insyall (this just means to delete). It’s relatively simple using phpMyAdmin. Just click the tab titled “Structure”, then select “Check All” under the tables, then use the drop-down box to select “Drop”. This means that the database you don’t need is now deleted.
Upload Your Old Database
Inside the phpMyAdmin console you now click “Import” and browse to where you saved your old database on your PC. Start the upload and once complete you will get an on-screen message telling you that the import was a success.
That’s the final step. You can now login to your WordPress website and check that everything is in order. You might need to do some minor edits such as plugin and permalink settings, but otherwise it will be good to go.
Guest Post: This WordPress article was supplied by the team at IT Support London HQ. They are one of the leading computer support companies serving London in the United Kingdom. They are specialists in remote IT support and outsourced support and provide a cost-effective and secure solution for small to medium sized businesses.