If you are using Blogger.com (xyz.blogspot.com) as a blogging platform and now want to move the blog from Blogger to WordPress (WordPress.Org – Self Hosted) with your own domain like xyz.com. You’ll need to know some migrating tricks to help protect your sites and contents from being damaged. Here I will describe to you the easy steps to migrate from Blogger to WordPress.

Migrate From Blogger to WordPress
Image by StockSnap from Pixabay


From my personal experience and also from top bloggers you have to remember three important points before migration from Blogger to WordPress.

  1. Migrate without losing traffic from Search Engine
  2. Migrate without losing your present page rank
  3. Migrate without losing your blog subscribers
I will come later on those topics how to migrate from Blogger to WordPress without losing search engine traffic, page rank, and blog subscribers.

WordPress is a search engine friendly blogging platform like Blogger. Basis difference between those two is you can customize your blog in the field of SEO and design in WordPress but in Blogger it is limited.

So both of the two are good.WordPress has a good option to import your previous posts and comments from Blogger to WordPress in a single click. 
But there is some problem when you migrate from Blogger to WordPress:
  1. When you import your blogger posts to WordPress your high-ranked posts may lose their top position in organic search engines. Your traffic will decrease day today because when you move your posts permalinks (URL) will change in WordPress.
  2. Due to a change in the permalinks search engine can not recognize your new links. Your blog’s ranking will go down.
  3. Some of your pages may be linked to high-ranked Websites/Blogs but after migration, you will lose those traffics and those links will no more redirect to your blog.
  4. Your blog subscriber can not read your newly migrated blog otherwise they manually to your new blog.
So to solve all those points and problems we have to follow the below steps:

How To Migrate From Blogger to WordPress

Before starting the migration process it will better to take the backup of your Blogger Blog Posts and also your blogger template. It makes you safe.
1. Buy a new domain and web hosting (as per your choice)  from a reputed Domain and Web Hosting provider like Hostgator ,Bluehost or Godaddy.

2. Install WordPress on your new domain.

3. Then first go to Settings –> Reading there you will found Search Engine Visibility option.Please tick on the point Discourage search engines from indexing this site .I am asking you to so because if you disable check it search engine will not find your blog posts.It will help to prevent search engine from indexing your under construction blog.After completion of all step again you have uncheck the point to courage search engine to index your posts.

4. Next open Dashboard –> Tools –> Import –> Blogger ,then authorize your Google account with which you access your Blogger Account and click on import.Within a minute your all posts and comments will import to your new WordPress Blog.

5. Now open Settings –>Permalinks preferred permalinks.But I will recommend you to use below permalink
 /%year%/%monthnum%/%postname%.html

It will help you to remain your post links like Blogger. Permalink

6. Now open your funtion.php file by going to Appearance –> Editor. Here you have to put the below code. You can also put it to your theme directly from your Web Hosting control panel or using FTP.

 <?php

function labnol_blogger_query_vars_filter( $vars ) {
$vars[] = "blogger";
return $vars;
}

add_filter('query_vars', 'wp_blogger_query_vars_filter');

function wp_blogger_template_redirect() {
global $wp_query;
$blogger = $wp_query->query_vars['blogger'];
if ( isset ( $blogger ) ) {
wp_redirect( wp_get_wordpress_url ( $blogger ) , 301 );
exit;
}
}

add_action( 'template_redirect', 'labnol_blogger_template_redirect' );

function wp_get_wordpress_url($blogger) {
if ( preg_match('@^(?:https?://)?([^/]+)(.*)@i', $blogger, $url_parts) ) {
$query = new WP_Query (
array ( "meta_key" => "blogger_permalink", "meta_value" => $url_parts[2] ) );
if ($query->have_posts()) {
$query->the_post();
$url = get_permalink();
}
wp_reset_postdata();
}
return $url ? $url : home_url();
}

?>

7. Open your Blogger Dashboard –> Template and chose “Revert to Classic Templates” and paste the below code on your blogger template by removing previous one. (Before doing this please take backup of your blogger template)

 <html>
<head>
<title><$BlogPageTitle$></title>
<script>
<MainOrArchivePage>
window.location.href="http://yourblog.com/"
</MainOrArchivePage>
<Blogger><ItemPage>
window.location.href="http://yourblog.com/?blogger=<$BlogItemPermalinkURL$>"
</ItemPage></Blogger>
</script>
<MainPage>
<link rel="canonical" href="http://yourblog.com/" />
</MainPage>
<Blogger>
<ItemPage>
<link rel="canonical" href="http://yourblog.com/?blogger=<$BlogItemPermalinkURL$>" />
</ItemPage>
</Blogger>
</html>

Now, Save it. Code Credit: Labnol.org

8. Now open your old blogger blog and it will redirect to your new blog.Your new blog is now about to get ready.

Move RSS Feed from Blogger to WordPress

When you migrate your Blogger blog to WordPress your RSS link will also change.So you need to move your RSS feeds from Blogger to WordPress .So go to your setting –> other  page of Blogger and select Post Feed Redirect URL.Here you have to put your new WordPress RSS link.Now your old Blogger subscribers will redirect to your new WordPress feed.

Now Your migration from Blogger to WordPress is Complete. Enjoy Your New Blogging.

Now What will be your next steps after migration:

  • Check  DNS on your new Web Hosting control panel.
  • Buy a Premium theme for getting high page rank and huge traffic from SEO.
  • Install must required Plugins for your Blog.
  • If you are not using Google Adsense for monetizing your Blog apply for Google Adsense and if you have already a Google Adsense publisher then use your ads.