• RSS Facebook Status






  • Connect with me

    delicious deviantart digg facebook flickr mybloglog myspace picasa stumbleupon technorati youtube
  • The Countdown

    7 days to a new chapter
  • Projects

    Bebasan

    Pratonton

    Ossism

    Crowd of None
  • How to transfer your Wordpress blog to another host

    March 2nd, 2006. Filed under: Technology, Wordpress


    A couple of days ago, my webhost suspended my account due to the exceeding of the allowed 3GB bandwidth. It happened only because my Tammy post received page views in staggering amounts. Posting that entry almost became my undoing.

    Hence I switched to a different host, one that can provide me more storage and higher bandwidth (Note that all this while I did not pay for my hosting, I use free services). This requires me to reinstall Wordpress and transfer its database in order to duplicate my blog. It took me a while to figure out a smooth transaction but here it goes.

    Follow these steps carefully. (A=your old server, B=your new server)

    1. Inform your readers ahead of the impending downtime of your blog.
    2. If you own a domain name and would like to reuse it: first attain your new server, B, add a hosted domain and acquire its dns address intended for domain hosting. (Eg. dns1.freeserverhost.com)
    3. Go to http://wam.webnic.cc to modify your DNS settings. Login>>click on domain>>click Modify DNS.
    Wordpress transfer 0
    If you do not have the username and password, contact your administrator.
    4. Download all wordpress files from A into your hard drive, in a new folder.
    5. While you wait, login to PHPMyAdmin of A. Click on your wordpress database.
    Wordpress transfer 1
    Then, click on Export. In the export list, select all wp tables. If you use Stattraq, you may want to omit wp-stattraq due to its size. Check ‘Save as file’ and press ‘Go’.
    6. Login to PHPMyAdmin of B. Click on your blog database>>click SQL>>browse for the location of the sql file you saved and press go. You will find all your posts, pages, comments, categories, links and login settings ready.
    7. Open wp-config.php from your new folder in your hard drive and make the appropriate changes.
    8. Wait until the dns changes take effect, which usually take several hours. If your server has a preview feature, move on to the next step (Thanks to LiewCF for the tip. Refer comments).
    9. Upload the Wordpress files you downloaded from A into B. Ensure you upload them into a correctly-named folder (Eg. domainname.com)
    10. You do not need load install.php. Login with your old username and password. Check that your old posts, comments, pages, etc. are present. Unless there was an error in uploading your sql queries into B, they should be there.
    11. Deactivate your plugins, especially ones like random posts, feedburner, and most popular posts. Remove any codes in your theme files that are related to those plugins. Otherwise, your blog will not be viewable should the plugins aren’t installed properly.
    12. Take the time to re-install your plugins one by one. Refer to their readmes and implement the code changes.
    13. By now, your blog should be back to its original state.

    I think these steps will suffice. Perhaps there will be other unforeseen issues but this will do for now.

    4 Responses to How to transfer your Wordpress blog to another host

    1. At Step #8, don’t we need to wait until the new DNS take effect first then only can upload the wordpress files to new server?

      bubble

      LcF

    2. If you can create the folder in that server with the domain name, you can upload the files first even though it won’t show up in your browser til the DNS changes take effect. Correct me if I’m wrong tho. I’m just a novice.. :P

      bubble

      Justin Wong

    3. yes, if you can access new server by its IP address. You did not clear the point in your entry.

      bubble

      LcF

    4. Justin, just came across your blog from surfing. You are a clever boy hor?

      I am a new blogger and just started two days ago on wordpress but my, my, I am having great problems trying to work out how to put other bloggers on my link list.

      Enjoy reading your articles even though I am old mama.

      bubble

      J Leese

    Leave a Reply