Migrating the blog from Blogger to WordPress

Installing WordPress (WP)

  1. First of all, get hold of a copy of WP from . You can either upload the extracted tar-ball to your web host using FTP (which is a pain, considering the many small files), or if you have SSH access, you can wget the file, and untar it on the host. Here’s how:
    1. wget {insert URL from the WP web-site}
    2. tar –xvfz {WP tar-ball file name}
    3. The files would be extracted to a new folder, possibly wordpress. You can rename it to whatever you want.
  2. Set-up a database on your host (refer to the host help, if needed) for storing the WP posts and user info. Also set-up a user for the database, if you want. Many shared hosts will add your username to the database and user name. So, if you name the database as blog, it’ll become username_blog. Remember this.
  3. Open wp-config-sample.php in a text editor (such a notepad on Windows, or VI or emacs on *nix) and update the database connections.
  4. Save the file as wp-config.php.
  5. Open /wp-admin/install.php in your browser. This will check the database connectivity and run you through the install. Please note down the password given to you (though it also is emailed to the address you specify).
  6. Login using the admin and this password, and customize your blog.

Importing from Blogger

  1. Log in to the Dashboard, and go to the import tab.
  2. Select Blogger, and you need to provide the username and password.
  3. Backup your template and any other customizations you have done at Blogger. WP will basically replace the template with one of its own, and parse the entire blog while importing. Backing up is important, because restoration can fail.
  4. Wait for an excruciating long time, while the import proceeds. The status of the import will say some posts were skipped, and the like, but don’t worry, it imports just as fine. Do not refresh the page, or close it.
  5. It will tell you it is done, and you can see the results for yourself.
  6. Restore the Blogger template, if WP has failed to do so.

Enabling Posting by Email

  1. WP needs a POP3 email account set up exclusively for posting via email. This account is supposed to be a secret account. Set one up. Gmail is ok, but you’ll need a plugin called Postie as Gmail needs secure login. Alternatively, just set up another email account with your host.
  2. If you want to use the default WP email posting, then go to manage -> writing on your admin, and put in the mail server, user name and password details. Remember that the user name is the full email address.
  3. Set-up a cron job (more details below) to auto execute the wp-mail.php ever few minutes. This will connect to your previously made POP3 account, download the new mail, and post it to your blog. The mail will be deleted from the account on successful post.
  4. If you do not have cron access, you can use a pinging service such as Monastic to call the wp-mail.php page every so often. Works the same.
  5. The problem with this is that my HTML formatted mails did not show up correctly, had a lot of =20 in between. So, I moved on to another alternative.


  1. If you want to use Postie, get the copy of Postie from the download page, and put it in the wp-content/plugins/postie directory.
  2. Create wp-filez and wp-photos in your WP root directory. Allow write access to them (chmod to 777).
  3. In the admin menu, go to General options and enable Postie.
  4. Go to Options and Postie config. Set up, among all the other options, your email account, and then click on update.
  5. Click on test postie to confirm if the email has been set up right.
  6. Set up a cron job to pull down the /wp-content/plugins/postie/get_mail.php

    */5 * * * * /usr/bin/lynx --source http://www.economysizegeek.com/wp-content/plugins/postie/get_mail.php >/dev/null 2>&1

You should be all done.


2 thoughts on “Migrating the blog from Blogger to WordPress

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s