How to move your wordpress blog from one hosting company to another

Hello,

I have just a few days ago completed a transfer process on my blog.  It’s nothing that will be visible to my blog visitor, as I have changed my hosting company to Blackwater Internet.  I have wanted to change my hosting company for some time, but I kept putting of making the move because I didn’t know how.

So, how did I do it then if I didn’t know how?  Well I will tell you.  I simply done a search for the information on the internet.  I typed into google something like  ‘How do I change hosting for my wordpress blog?’.  Hundreds of results came up, so I had to siv through a lot of the websites until I found a guide that I could understand and was easy to follow.  This was difficult and even though I have changed my hosting, there was still one part of the process I did not understand and could not work out how to do it.  It is not a compulsory part of the process, so I didn’t worry about it to much.

Because I found it difficult to find an easy to follow guide, I thought I would write my own that may belp others.  So here it is.

  1. Make sure you have updated to the latest version of wordpress.  At the time of writing this, the latest version is 2.7.
  2. Backup your database(s) to your computer.  Back it up to at least one other media source as well as your hard drive.  If you are not sure how to do this, click HERE
  3. Back up all of the files from your blog.  If you do not do this properly, you run a high risk of loosing comments, posts, plugin, themes etc.  It is therefore a very good idea to back this up to several different media types, for example, your hard drive, an external hard drive, flash drive or memory stick, cd/dvd.  You can do this from either in your c panal (control panel) or from your ftp program.  I prefer to use my ftp program, and use filezilla.  Log into your webspace using your ftp program.  Select where on your computer you would like to download your blog files to.  Find the directory on your webspace where your blog is.  If it’s in the root of your website, i.e. www.yourdomain.com then find the folder ‘public_html’.  Right click on it and select download.  If it is in a folder on your website, i.e. www.yourdomain.com/blog , then go to that folder in your webspace and right click on it and select download.  Once you have downloaded it, as mentioned above, now download it to another media type.  If you do not, and your hard drive corrupts or breaks down, you have lost your back up. 
  4. This is the part of the transfer process I did not understand, but I will tell you the theory of what you should do anyway.  This step is not a compulsory part of the process.  Now that you have backed up your blog, any other posts you make, comments made from blog readers etc, will not get transferred over.  So until your blog is transferred do not make any more posts to your blog.  In order to stop getting comments left on your blog, it is possible to stop people from leaving comments.  The instructions that I found said to do this, ‘Log into your PhpMyAdmin panel and update the wp_posts SET comment_status to closed’.  This is the part I did not do.  If you know how to do this, please leave a comment below.
  5. Now you have backed up your blog just in case anything goes wrong, during the transfer.  If you have not registered your domain name with your new web host, you will now need your dns settings from your new web hosting company.  If you do not know what they are, contact your host to get them.  Log into the control panel where you have registered your domain name and change the dns settings to the ones your new web host has given you.  This is called DNS propagation and usually takes between 24-48 hours.
  6. You do not have to wait for the DNS propagation to be complete before you can follow this step.  In fact to give a seaming less no downtime to your blog, it is best to do this straight away.  Log into the control panel of your new web hosting and install the blog like you did when you first started your blog on your old host.
  7. Log into your web space of your new host using your ftp program.  From the files you downloaded in step 3, find the folder ‘wp-content’ and upload it to the root directly of your blog, e.g. ‘public_html’ or ‘/blog’ etc.  As the folder ‘wp-content’ will already exist from the new install you done in step 6, you will be advised this file already exists.  Choose to overwrite this with all the files.
  8. When you installed wordpress on your new host, this will have created a mysql database for it.  Log into your control panel and access this database so that you are logged into your phpMyAdmin.  Import the database file that you download from step 2 above.
  9. As soon as the DNS propagation is complete from step 5 your blog has been transferred.

I hope that you have found this useful and found it easy to follow.  If you have experienced any difficulties, leave a comment below and either myself or one of my blog readers can leave a follow up comment with some help.

Remember, I did not have a clue how to move my blog, and I managed it, so I know that you can too.

One Response to “How to move your wordpress blog from one hosting company to another”

  1. Hi,

    I think these kinds of software are more useful for the users,Especially those persons whose work on web or the work for the web developing,I n this way they can gets lot of information about the new version software and many many more.

Leave a Reply