How to Move a WordPress Site to Bluehost

During web-based profession of yours, whether it is full-time or part-time, you will have to change your web-hosting provider for variety of reasons. Sometimes, the reason may be requirement of additional features or bad experience with current hosting solution. For instance, lately, we have seen many of bloggers & internet marketers, in particular newbies of field, moving from other web hosting solutions to Bluehost hosting services, because of some features as free domain, simple User Interface, affordable pricing plans etc.

Read: Best Alternatives to Hostgator Hosting

When you have changed your web host, it becomes necessary to move your complete website to the new Bluehost web server. On contrary to HTML websites – where it needs you to copy all those files to new web server, moving a WordPress site or blog completely to the new server may seem a tiresome task, when you have no previous experience in doing so. Despite that simplicity, shifting site or blog from other web host to Bluehost will be quite easy while you are using this tutorial. Here, we will elucidate that process of moving your WordPress site from other web hosting service to Bluehost in a systematic. While you follow this tutorial, you can accomplish that task of site transfer without facing downtime at all.

Note: Bluehost hosting is using a customized version of cPanel as its control panel. However, your previous provider may be offering another platform to manage server. So, there are chances that the process may vary at least in some sections.

Copying All Your Files to New Web Server

Just as we do in the case of HTML-based websites, we have to transfer your files to Bluehost web server that you did bought for additional features. In order to avoid downtime, you have to keep all those files until the new web server is active. Make sure you follow steps given below strictly.

  1. You have to use some FTP (File Transfer Protocol) Clients, such as FileZilla or Cyberduck, to copy files into the new server. Open your favourite FTP Client and connect to your source hosting account, using credentials.
  2. You will be able to see different folders now. However, you have to find folders consisting of WordPress files of your site/blog. Most probably, you can find those in public_html folder.

  1. Now, download all those folders as well as subfolders to your PC. If your blog has many media files, this may take a while. Or you can simply login to your CPanel –> go to file manager –> compress and download the whole public_html folder to your PC and extract it.

  1. Disconnect from this hosting account, and connect to the Bluehost server using given credentials (You will be able to find those from welcome mail of Bluehost)
  2. Now, upload all those downloaded files into public_html folder of new web server.

Exporting WordPress Databases

Now you have to export main database of your WordPress site or blog to ensure that everything will be okay. Follow steps we have given below to accomplish this task.

  1. From file manager of hosting account, find ‘wp-config.php’, in which you can find database name, username and password. Keep the database in your memory or somewhere else.
  2. Now, you have to access phpMyAdmin from control panel. In sidebar of phpMyAdmin, you can see complete list of available databases. From the list, select the database, which is corresponding your WordPress site.
  3. Soon, you will be able a list of tables in selected database. From tab-based menu above that list, click Export button, whereupon you will get a .sql file.

  1. Keep this file safe in your PC

Creating New Database in Bluehost Account

  1. After logging into cPanel of Bluehost, go to ‘Databases’ section of account.
  2. In the section named ‘Create New Database’, provide name for the new database; it’d be great if the name is usable for identifying WordPress site.
  3. In the below section, called ‘Add New Users’, provide username and password to create new database user.
  4. Add this user to the database you have created earlier. Note to give all privileges to the user while assigning.
  5. Keep username, password and database name with you for further use.

Importing Database from previous Hosting Account

Using the .sql file you have exported from previous hosting account, you have to import all the tables into your new server. Follow these steps strictly.

  1. Access phpMyAdmin dashboard, and select the newly created dashboard from sidebar.
  2. Click on ‘Import’ button and use the .sql export file to import all your WordPress tables.
  3. Well, that is it; you have imported all of required WordPress database tables.

Updating ‘wp-config.php’

Now, since you have created a new database and username in Bluehost hosting account, you have to update the wp-config.php you have copied from previous web server.

  1. Access to your file manager and open ‘wp-config.php’
  2. You have to replace database name, database username and database password to move on.

The Extra Step – Permalinks

  1. Log into your WordPress dashboard
  2. Go to Settings –> Permalinks

  1. Nothing special, but just click on ‘Save Settings’

Final Step – Change Nameservers

Well, have you followed all steps mentioned above so far? If so, you can go to your domain registrar platform and do change nameservers to ns1.bluehost.com and ns2.bluehost.com. According to domain registrar, it may take some minutes or hours to redirect your domain name to Bluehost servers. When nameserver has been changed, your site will run perfectly on powerful servers of Bluehost hosting services.

In case you are installing new WordPress on Bluehost check our step by step guide about installation of WordPress on Bluehost hosting.

Congratulations, folks! You have successfully moved your WordPress site from your previous web server to Bluehost, without facing downtime. Do you have any doubts or issues? We are ready to help you through comments.

Comments

comments

Ryan Jacob: Ryan Jacob has 9 years of rich experience in Integrated Marketing Communications and Server Management. He has lead teams of professionals in his career and built online and offline reputation of organizations.