How to Migrate your Blog from Blogger to WordPress Without Loosing Traffic and Search Engine Rankings

Blogger is an awesome free platform to start blogging. it is easy to start with blogger but than there time comes when you want full control of your blog and use your own self hosted WordPress blog. Migrating or Shifting from blogger generally result drop in the traffic and Google ranking . So for those who want to migrate here is step by step guide to help you migrate your blog from Blogger to WordPress without loosing traffic and rankings.

the very first thing you need is your own domain and a WordPress hosting service provider. You need to sign up at WordPress and than install WordPress on your new website. Then import your blog content from Blogger to WordPress.

Step 1 : Import your Blogger Blog to WordPress

How to Import blogger Blog to Wordpress ?
To import Blogger Blog to WordPress, go to Tools-> then Import and then click on Blogger.

A pop-up will open, asking to install blogger importer plugin. Click on Install. After installtion, activate the plugin and Run Importer link to continue.

 You will see another screen where you need to authorize WordPress to import Blogger Blog. Click  Authorize button, and your Google Accounts page will open. You will get notification that WordPress is asking permission to manage your Blogger account. Then Click on Allow access button.

 A list of Blogger Blogs will open , Click the assign button next to blogger blog that you want to import.

After WordPress import all posts, then you need to assign author to imported posts.

This way you successfully imported your Blogger blog to WordPress..! Now you need to make sure that you do not loose visitors and Ranking to your old blog.

Step 2 : Setting up Permalinks

WordPress let you to set up SEO friendly structure of URL. But as you have imported blog from blogger  you want almost same permalink for new WordPress blog. To set permalinks, go to Settings-> Permalinks and choose Name and Month as your permalink structure.

Step 3 : Setting up Redirection

This is the most important step so that users will redirect to your blog. We want earch engines to notice that your old site is moved to new location and users to land on the same page on the new site.

Just need to setup redirection at 2 levels.
  1. Redirect blogger blog visitors to new WordPress blog. 
  2. Once users reach new WordPress site, they will redirect to exact post they were accessing on  Blogger blog.
Setting up redirection on Blogger blog:

Login to your Blogger blog account, then go to settings and Click on Template.

On the template page, scroll down to bottom end  and click on “Revert to Classic Template”.

 Then you will see the “Edit Template Html”. You must replace the entire code with the following code. Make sure that you replace www.mywebsite.com with your domain name.

<!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="www.mywebsite.com" /></MainPage>
<link rel="canonical" href="www.mywebsite.com<$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://www.mywebsite.com"><$BlogTitle$></a></MainOrArchivePage>
<a href="www.mywebsite.com<$BlogItemPermalinkURL$>"><$BlogItemTitle$></a>
</div> </body></html>
<!-- replace mywebsite.com with your WordPress site URL --->

Save template, and you have implemented redirection on Blogger blog. Now you need to setup your redirection on new WordPress site also so that users will redirected to proper posts. You just need to create a new file using a text editor like Notepad. Give this file a name like wpb-blogger.php and paste following code inside it.

02 /*
03 Template Name: mywebsite Template
04 */
05 global $wpdb;
06 $old_url = $_GET['q'];
07 if ($old_url != "") {
09 // Fix for blogger blogs with .de and other tlds in their URLs
10 $tld_fix = preg_replace("/blogspot.[a-zA-Z0-9]+/","blogspot.com", $old_url);
11 $permalink = explode("blogspot.com", $tld_fix);
12 $q = "SELECT guid FROM $wpdb->posts LEFT JOIN $wpdb->postmeta ".
13 "ON ($wpdb->posts.ID = $wpdb->postmeta.post_id) WHERE ".
14 "$wpdb->postmeta.meta_key='blogger_permalink' AND ".
15 "$wpdb->postmeta.meta_value='$permalink[1]'";
16 $new_url = $wpdb->get_var($q)? $wpdb->get_var($q) : "/";
17 header ("HTTP/1.1 301 Moved Permanently");
18 header("Location: $new_url");
19 }
20 ?>

Step 4 : Redirect Feeds

How to Redirect Blogger feed to Wordpress?

Log on into Blogger account. Go to the Settings and click Other. 

 You will see Site Feed section, Click on Add link next to Post Feed Redirect URL.

Here type the address of new WordPress RSS feed and the existing RSS feed subscriber will automatically move to new feed.

I myself prefer and suggest everyone to use Bluehost hosting for WordPress as they are most reliable and also recommended by WordPress itself. Bluehost offering 56% discount on hosting and free domain. to grab this opportunity click here

Man Behind eAskme

Gaurav Kumar

Gaurav Kumar is the founder of eAskme.com. He is the professional blogger, writer, motivational speaker and online. He the man behind "Blogging for money guide" and "complete domain name guide". eAskme will help you to become an online entrepreneur. You can learn SEO, Money MAKING, SEO, blogging and more.

More About Me