Moving Wordpress blog to new webhost

Filed Under: Tutorials / Tweaks, wordpress    by: Ritesh

I recently moved my site from SharkSpace (had free space on Devesh’s reseller account) to HostMonster.

I had a 200MB account, with 2GB bandwidth on Sharksace, but have now moved to unlimited space with unlimited bandwidth (Yayy!!)

I was very concerned about moving my Wordpress powered blog from SharkSpace to HostMonster, but the whole process was a breeze.

Just a quick down on the steps to be followed while moving wordpress from one server to another.

Note: My domain name was the same, and I installed Wordpress in the same directory as my earlier host.

  • Login to Cpanel, and goto PhpMyAdmin. This is your database GUI. Click on the database that stores your wordpress records, and hit ‘Export’. You can save the .sql file on your HDD. You will need this later to be imported to your new webhost.
  • Connect to your old webhost using any FTP software, and download the wp-content folder. I’m assuming you know where to locate this folder. In case you are a newbie, use the comments section, and I’ll gladly help.
  • Okay, so you now have a backup of your database, and your wp-content folder, which usually stores all your wordpress files like themes, etc.
  • Now login to your new webhost. Install wordpress through fantasico in the same directory structure as your old host.
  • Once installed, login to PhpMyAdmin, and delete all the tables within the new database. Now, click on Import, and select the SQL file that you exported from your old webhost. You DO NOT need to change anything in the wp-config.php file.
  • FTP your new host, and overwrite the wp-content folder with the one you downloaded from your old host.

Voila!! This should fix everything, and your readers will not know that you have migrated servers.

P.S: This worked like a charm for me. Lemme know if you experience problems following the above steps.

Tags:

7 Responses to “Moving Wordpress blog to new webhost”

  1. Manan Says:

    I faced a peculiar issue when I changed my host. I lost my search rankings on google. I was 6-7th on google.com for ‘manan’ but after the change in host I am no where on the first 3 pages.

  2. Manan Says:

    Update: I think I have figured out why this must have happened. The Google XML Site Map Generator plugin stopped working due to permission errors on the xml & gz file.

    Also I noticed that plugins like WP-Cache & InstantUpgrade too had this permission problem.

    So once you change your host it would be better if 1 checked the your plugins for such permission errors.

  3. Ritesh Says:

    True Manan, the plugins could have caused an issue.

    Though, I had all simple plugins and they didnt really cause any trouble while I moved. I havent really checked my place on google, but I guess the site does turn up if you type “Ritesh Sapra” - Im no where close if you type “Ritesh” along, courtesy: Ritesh Deshmukh.

  4. Wordpress Sender Email incorrect on HostMonster Says:

    [...] recently changing my webhost to ‘HostMonster’, I found that my blog, powered by Wordpress, doesnt send [...]

  5. Manan Says:

    hahaha, there is some pace called Grand Canyon Manan, I have been fighting with all tourist type ferry service providers and made it on the front page, but now will have to work my way up again.

  6. Ritesh Says:

    Did you do something special to come on the first page? I think there are a lot of factors to get you on the first page.

  7. Ritesh Says:

    Fantastic - I just noticed. By putting ‘Ritesh’ in Google, I have managed to come on the first page :-)

Leave a Reply