Transfer WordPress website to new Host Easy 6 steps
Today we are going to teach you how to transfer wordpress website to new host . This is a very easy process but some people are struggling with this process.
Some wordpress bloggers are changing their current host provider for different reasons like slow loading ,space problems,server uptime problems,customer support issues.
Below shows you the steps to Transfer wordpress website to new host, So let’s get start.
Step 1 : Backup your website files to your computer
First you have to login to control panel (cpanel) of website.This picture shows you the current wordpress host location files.You can select all the files from here and download the files to your computer. You can even use some wordpress plugins to backup your full website.
Step 2 : Export website database.
Therefore goto phpMyAdmin in cpanel and backup your existing wordpress database. In phpMyAdmin select wordpress database and goto Export section. Now select Quick-display only the minimal options radio button and click Go button.
Now your hosting sever will begin to backup the selected database and it will automatically download to your local computer.
Step 3 : Create database on new web host.
Therefore go to new web hosting cpanel and MySQL database section and create new database and user.Then give all the privileges to new user for new database.Because we need to copy our downloaded mysql backup to new database . Refer this article to do this.
Now go to phpMyAdmin on new host and select the newly created database and click on import tab. After that browse your computer and select the downloaded database and click Go button.
Step 4 : Edit wp-config.php file.
Now time to edit downloaded wordpress website wp-config.php file. To do that goto downloaded wordpress folder and open the mentioned php file with text editor. Find the each “define()” lines in the file and replace with according to below steps.
- Change Database name to new database name
Replace db_name with newly created database name.
- After that Change old user name to new user name
Replace db_user with newly created user name.
- Now we have to change the password of user
Replace db_pass with new user password.
Now save the wp-config.php file and close it.
Step 5 : Now we are going to upload our downloaded wordpress site to new host.
For that we have to add all the files and folders to a zip folder . If we zip it is easy to upload the all the files at once.
Now go to public_html folder in cpanel of new hosting server and click upload button. It will popup open file dialog box and select the zipped folder and upload it. This may take few time to upload based on your internet connection speed.
After upload was finished just select the zipped folder and extract it.
Step 6 : Final Step is to change the domain name servers(DNS) via your domain registrar account.
Therefore go to your domain name provider website and login to your account. After that go to name server section and replace the old name servers with new hosting company domain name severs and save it.Details of new name server are email to you from new hosting company if not please contact new hosting company to get name server details. It may take few hours to apply the changes. Because to update new name severs on your domain, it take more time to update dns system in your domain name provider.
You are now finished your transfer wordpress website to new host process.
Please feel free to ask any question regarding this tutorial via comment sections.