Migrate your Blog from Blogger to WordPress

There are more people who are hanging out on Blogger.com (it’s also known as Blogspot) which is fine!.

Your current blog that you are running at yourblogname.blogspot.com which is hosted on the Blogger platform but you now want to move your blog from Blogger to WordPress (i.e. self-hosted) with a custom domain name (i.e. yourblogname.com) especially as it relates to monetizing it, customizing it, as well as optimizing it for SEO.

Here you can learn how to Migrate a Blog from Blogger to WordPress. Please, follow the step-by-step guide below in order to move your Blog from Blogger to WordPress.

Step 1 : First you have to register a Domain name, Server space from some hosting companies and Install WordPress Software in Server. To know the installation process of WordPress Click Here.

Step 2 : Next login to the WordPress Admin Dashboard -> Select Tools options from the left side menu and in tools select Import and from the list appeared select Blogger. I.e. Admin Dashboard -> Tools -> Import -> select the Blogger option.

Step 3 : After selecting blogger option it ask’s to install Importer Plugin. So install and activate the Plugin. Then it ask’s to Authorize WordPress to access your Google Account and all your old posts and comments will display on the new WordPress site.

Step 4 : To capture all the lose ends from your direct blog link to your organic SEO as well as direct links to your old Blogspot blog you’re going to change a few things in your account and settings. You have to create and upload a file named Blogger.php to your themes folder with the following code.

Template Name: blogger

global $wpdb;
$old_url = $_GET[‘q’];

if ($old_url != “”) {
$permalink = explode(“blogspot.com”, $old_url);

$q = “SELECT guid FROM $wpdb->posts LEFT JOIN $wpdb->postmeta “.
“ON ($wpdb->posts.ID = $wpdb->postmeta.post_id) WHERE “.
“$wpdb->postmeta.meta_key=’blogger_permalink’ AND “.

$new_url = $wpdb->get_var($q)? $wpdb->get_var($q) : “/”;

header (“HTTP/1.1 301 Moved Permanently”);
header(“Location: $new_url”);

or you can download the file from Here and rename it to blogger.php from blogger.php.txt.

Step 5 : Then go to Admin Dashboard and from Pages Select Add New and name the Title as Blogger and select “blogger” from the Template drop-down (see the Screenshot Below) and Publish.

Blogger to WordPress

Step 6 : Now again go to your Blogger Dashboard, select Layout and Edit HTML and Click on “Revert to Classic Blog” which is at the end of the Edit HTML page. Copy the below code and make little changes and paste the code in the “Edit Template” area and click on “Save Template Changes” Button.

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en” dir=”<$BlogLanguageDirection$>”>
<script type=”text/javascript”>

<MainPage><link rel=”canonical” href=”http://google.com/” /></MainPage>
<link rel=”canonical” href=”http://google.com/blogger/?q=<$BlogItemPermalinkURL$>” />

<div style=”border:#ccc 1px solid; background:#eee; padding:20px; margin:80px;”>
<p>This page has moved to a new address.</p>

<MainOrArchivePage><a href=”http://google.com”><$BlogTitle$></a></MainOrArchivePage>
<a href=”http://google.com/blogger/?q=<$BlogItemPermalinkURL$>”><$BlogItemTitle$></a>

Change the “google.com” links to your your new web address. There are 6 places that need to change in the above code.

Step 7 : Your are done!. Now Check any page of your old Blogger blog and it should redirect you to the New WordPress page. In WordPress we are using a permanent 301 redirect with the redirection URLs, all the LinkJuice will probably pass to your new WordPress pages.

Step 8 : Now you need to your RSS feed in the Blogger Dashboard. Go to Blogger Dashboard -> Click Settings -> and Site Feed from settings and type the address of your new WordPress RSS feed in the asked field and Google Reader, Bloglines, etc. will automatically move to your new feed.

A Few Things to Remember :

1. Keep your Blogspot blog up! Never delete your blog from blogger.com! It still provides value to your New WordPress Blog and also to keep the redirection alive!

2. Pictures and media may not have fully been moved over, especially if it’s hosted on Blogger directly and/or Picasa. you have to add those images manually or just keep your Blogspot blog up to serve that content.

About Sai Kumar

I + Sai Kumar, is the Founder and CEO of Crunchyhub. I am a Simple guy from Hyderabad, Andhra Pradesh. I writes about Blogging, Technology, Programming etc. Connect with me on Facebook, and also you can also Follow me on Twitter.


  1. thats is what is want. I am currently running blog in blogger and want to migrate it to wordpress. Thanks for the post.
    Nitin recently posted..What is track back in blogging?My Profile

  2. This outline does make the process seem quite simple. But I still find the process daunting, which is why I haven’t done it with one of my Blogspot blogs.

    I know that some hosts specializing in WordPress do the whole process for you. I think I’ll choose one of them when I’m ready to switch!

  3. Thanks Sai,
    For suggest this blog, to migrate from blogger to wordpress. I really need it.
    sanchit recently posted..Industrial Live Project TrainingMy Profile

  4. Zion Amal says:

    I’m really starting to like this blog.
    I have once tried to migrate to WordPress. But it resulted in an Image Error or something.
    I really needed to change to WP.
    I think this should get things done. Thanks a lot! :)

  5. Thank You for this article .I am planning to migrate from blogger to WordPress.This will help me a lot.
    Jishnu recently posted..Best Free Anonymous Web Proxy.My Profile

  6. Everyone must agree that no CMS is as flexible as WordPress. Everything is handy. The ready made plugins and themes will make a blog look like pro blog without any coding knowledge.
    Pavan Somu recently posted..How Websites Get Listed Into SERPMy Profile

  7. This is good to have such a simple process for migrating blogspot blog to wordpress. I had not any idea about migration so I have left many of my blogspot blog.
    Prakash recently posted..Subway Surfers for PC, Android Free Download APK OnlineMy Profile


  1. […] for the newbie bloggers to start a new blog and also for the BlogSpot users where they can easily migrate their blog from blogger to WordPress. This Giveaway is sponsored by a Australian Web Hosting Company […]

Speak Your Mind


CommentLuv badge

More in Blogging, Tutorials, WordPress (29 of 33 articles)