Jan 07

The day b4 yesterday, I migrated my blog from Blogger to my self-hosting WordPress blog.

The reason is blogger.com blocked by Chinese government, so I can’t login to update my blog. Although I have my own domain, I even can’t visit my blog because some ghs servers of Google are blocked too.

After a long waiting, I can’t bear any more, finally decided to buy a hosting and transfer my blog to WordPress.
The following are some simple steps: (You should change peptop.com with your wanted domain)

Install WordPress 2.9.1

Because I have no Fantastico so I have to install WordPress manually, luckily it is not complex.

  1. Login to my VPS via Putty with root role.
  2. Download lastest WordPress vis following command:
    wget http://wordpress.org/latest.tar.gz
  3. unextract it to the right directory
    tar zxvf latest.tar.gz -C /home/wwwroot/peptop.com
  4. Use a control panel or change config file to bind /home/wwwroot/peptop.com/wordpress to www.peptop.com
  5. Use PhpMyAdmin to create a MySQL database.
  6. Change the DB_NAME, DB_USER, DB_PASSWORD settings in wp-config-sample.php and rename it to wp-config.php
  7. Open http://www.peptop.com/wp-admin/install.php in browser, the installation will finish automatically.

Import blog from Blogger to WordPress

  1. Login to new WordPress blog first.
  2. Find “Tools” » “Import” in left menu panel.
  3. Choose “Blogger”.
    The Blogger will verify your account and the WordPress will import your posts and comments automaticlly.

Adjust old posts and comments

After migration, you have to adjust some categories, edit some posts to fit on the new theme.
If you are brave, you can use PhpMyAdmin open the database and set comments’ parentid fields, with this, the old posts can have threaded comments effect like the following image:
thread comment effect

Conclusion

Migration from Blogger to WordPress is not that difficult, but in the end it took me several hours to transfer and cost me several dollas for self-hosting. Because the Chinese government blocked almost every free BSP, I will always pay for my blog hosting in future.

Freedom has many difficulties and democracy is not perfect, but we have never had to put a wall up to keep our people in – to prevent them from leaving us.“, said John F. Kennedy under the Berlin Wall.

The Berlin Wall has collapsed for more than 20 years, but the evil Chinese government is building a new wall on the internet, isn’t it?

2 Responses to “How to migrate from Blogger to WordPress”

  1. October 2, 2011 at 1:01 pm
    Ben Landen
  2. August 13, 2011 at 4:20 pm
    Mario Dorizas

Leave a Reply (Set Globally Recognized Avatar