How to migrate your WordPress site
“How do I transfer my WordPress site” is a question that our support team receives on a daily basis.
Whilst we’re very happy to do this for you, just in case you fancied learning how to migrate your WordPress site yourself, we’ve included a step by step guide below.
Did you know…
If you are moving your hosting services including any WordPress sites to Clook, our migration experts will transfer your data for you in a seamless manner.
Best of all we don’t charge for it – our migration service is completely free!
There are a number of methods you can use to migrate your WordPress site. The guide below includes the use of cPanel, but you could just as easily achieve the same results using a WordPress plugin such as Duplicator
Move your WordPress files
Use FTP Software
In many cases, using FTP software is the simplest way to transfer your WordPress files to a new web hosting account. There are two steps to this process
aConnect to the hosting account you are looking to migrate from and download the files to a local machine
bOnce the files have downloaded you simply upload them to your new hosting account’s main folder which is usually public_html, www or httpdocs.
aUse cPanel’s file manager to compress all the files in your public_html folder and download them to a local machine.
bLogin to the cPanel on your new server and upload the zip file and then extract it.
Move your WordPress database
aLogin to cPanel and export a copy of your database using phpMyAdmin
bLogin to cPanel on your new server and import the database you just downloaded again using phpMyAdmin
Either using cPanel’s file manager or your favourite FTP software, edit wp-config.php which is in the root folder of your WordPress installation. Search for each of the following within the file and edit as follows:
Set Database Name
Replace MyDatabaseName with the name of your database.
define( ‘DB_NAME’, ‘MyDatabaseName‘ );
Set Database User
Replace MyUserName with your MySQL username
define( ‘DB_USER’, ‘MyUserName‘ );
Set Database Password
Replace MyPassword with your MySQL user’s password.
define( ‘DB_PASSWORD’, ‘MyPassword‘ );
Point your domain to your server
To point your domain’s DNS to the new host you have to change the nameservers for your domain name to those of your new host.
The nameservers can be changed via your domain registrar.
For Clook customers, who have purchased or transferred a domain to us, this is a simple as logging into your client area, navigating to Domains > My Domains and clicking on the Manage button and setting the nameservers to ns1.clook.net and ns2.clook.net
Did you know…
At Clook, one of our specialisms is providing WordPress hosting, if you’d like to find out more, please get in touch with us.
Will’s our technical sales guy from the hills of Rossendale. In his spare time he can be found designing and building websites, or doing a spot of DIY!