Migrate from Blogger to Wordpress

How to Migrate from Blogger to WordPress without losing Google ranking

Blogging & Website How to

Blogger is the best platform for new users. But if you want to become more famous, want to make a professional website or want to earn lots of money from it then WordPress is best. I already told that I start my journey with Blogger. There are so many drawbacks of Blogger.Blogger to WordPress migration

  • 5 Reason why should Migrate From Blogger to WordPress

To Migrate from Blogger to WordPress, you need two things

  1. A) Hosting  B) Domain Name

Hosting:

To choose proper hosting is very important. Bluehost is officially recommended by WordPress. Siteground and Hostgator are also the good options for hosting.

Domain Name:

Always choose the top level domain name like .com, .org. If those names are not available then you can choose .net, .info. In India, you can choose domain name like .in or .co.in.

Before Start migration

First, install WordPress on your favorite hosting account. Add domain to your hosting account.

Here are the steps to Migrate from Blogger to WordPress without losing Google ranking.

Step 1: Export Your Blogger Blog

You need to export all content from Blogger to WordPress. Login to your Blogger Dashboard then go to Setting>>Other>>Backup Content

Then one popup window will be open like this

Click on Save to your computer. Now your whole Blogger content is saved to your computer.

Step 2: Important your Blogger Content to WordPress

For importing Blogger to WordPress, you need to go WordPress Dashboard. Then click on Tool>>Import. Now go to Blogger and click on Run Importer

Then one window will open. Click on the Choose File and choose the file which you downloaded in step 1. Now, this is time to import Blogger blog to WordPress click on Upload file and import. That’s all done congratulation you successfully import your Blogger to WordPress.

Now you have to choose an author or create new.

Step 3: Permalink

Permalink mean URL structure of your individual page. You have must keep your WordPress permalink structure as same as Blogger

 

Go through Setting>>Permalink. Then click on Custom Structure and paste this code  /%year%/%monthnum%/%postname% . html over here, to make the similar structure like Blogger. This action will help you to maintain your SEO.

Step 4: Redirection Setup

This is a most important step. Now you have to redirect your Blogger blog to WordPress blog

Go to Blogger Dashboard then click on Template. Scroll to the downward side you see the one link Revert to classic template click on it.

Then you see some codes delete them and replace by code given below

 

<html> <head> <title><$BlogPageTitle$></title> <script> <MainOrArchivePage> window.location.href="http://techmag.co.in/" </MainOrArchivePage> <Blogger><ItemPage> window.location.href="http://techmag.co.in/?blogger=<$BlogItemPermalinkURL$>" </ItemPage></Blogger> </script> <MainPage> <link rel="canonical" href="http://techmag.co.in/" /> </MainPage> <Blogger> <ItemPage> <link rel="canonical" href="http://techmag.co.in/?blogger=<$BlogItemPermalinkURL$>" /> </ItemPage> </Blogger> </head> <body> <MainOrArchivePage> <h1><a href="http://techmag.co.in/"><$BlogTitle$></a></h1> </MainOrArchivePage> <Blogger> <ItemPage> <h1><a href="http://techmag.co.in/?blogger=<$BlogItemPermalinkURL$>"><$BlogItemTitle$></a></h1> <$BlogItemBody$> </ItemPage> </Blogger> </body> </html>
 Note-

Replace www.techmag.co.in with your domain name in all places. Now click on Save template. Now you successfully redirect Blogger blog. Make sure that you properly replace www.techmag.co.in with your domain name.

Now you still you have to redirect to your WordPress blog. You have to go to WordPress Dashboard. Click on Appearance >> Editor >>Function.php. Location of Function.php is at a right side of the editor. Copy the code is given below and pest below the code exist already. And click on Update File.

 

Copy the code is given below and pest below the code exist already. And click on Update File as said above.

function blogger_query_vars_filter( $vars ) {   $vars[] = "blogger";   return $vars; }   add_filter('query_vars', 'blogger_query_vars_filter');   function blogger_template_redirect() {   global $wp_query;   $blogger = $wp_query->query_vars['blogger'];   if ( isset ( $blogger ) ) {     wp_redirect( get_wordpress_url ( $blogger ) , 301 );     exit;   } }   add_action( 'template_redirect', 'blogger_template_redirect' );   function 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(); }

Now you complete your 301 redirections Successfully

Step 5: Redirect your Blogger Feed to WordPress Feed

If any person subscribes your Blogger Feed, to revert your subscribers to WordPress you have to do some settings. Go to Blogger Dashboard Setting>>Other. Now insert your WordPress feed in Post Feed Reed Redirect URL.

 

Your WordPress Feed URL should be like this http://techmag.co.in/feed. Here replace www.techmag.co.in with your domain name.

If you have like this post please don’t forget to subscribe our Techmag Blog. Like our Facebook page to get information about the new post. If you have any doubt or query please tell us by commenting on this blog post.

Thank You.

Leave a Reply

Your email address will not be published. Required fields are marked *