How to Migrate Blog From Blogger To WordPress

So you want to migrate your blog because not like your current platform or your blog design and want more professional designs and more authority. In this article, i am going to teach you how to migrate your custom domain Blogger blog to the self hosted WordPress. Blogger is no doubt one of the best platforms but your blog is not in your hand if Google notices that you were breaking Google rules they can delete your blog without any decision. Its common sense you are using blogger blog, and when you make a blog on blogger, you accept there (TOS).

I am not saying that blogger is not a good platform. Blogger is improving day by day. But in Blogger your blog is limited. If you don’t know HTML, then your blog look not professional. But there are free sites where you can download free templates for your blog. I start my career with Blogger With Blog name (Clubsideeffects), but after six months without any success, one of a friend recommended me to migrate my blog from Blogger to WordPress.

I watch many tutorials, and finally, I did migration successfully. And I must say WordPress is quite professional instead of blogger platform. You do not need any experience or Html knowledge because here in wp plugins help us instead of coding.

But I always recommended gaining some knowledge. A little bit of knowledge is useful rather than put you in big risks.

What is WordPress:

WordPress is an online, open source website creation tool written in PHP. But in non-geek speak, it’s probably the easiest and most powerful blogging and website content management system (or CMS) in existence today.

There is two version of WordPress one is wordpress.com, and other is wordpress.org.

Okay I can’t tell you about all of this in one post so Here is a handy chart from HowJoyful, explaining the feature differences between BlogSpot vs. WordPress.com vs. Self-hosted WordPress (WordPress.org):

Also Read:

How To Create A Self Hosted WordPress Blog (Step by Step)

Best Security Guide Ever For Your WordPress Blog (2016)

Top List of Recommended WordPress Plugins for Every WordPress Blog

What I Recommend:

I always recommend choosing WordPress.org instead of WordPress.com because you cannot customize your blog professionally in WordPress.com. But in WordPress.org you are the owner of your blog and no one can delete your blog without your permission and also you can’t do anything in WordPress.org with best and excellent features.

WordPress.com and blogger.com are quit simple like free hosting, they can delete your blog, tc.

What i need For WordPress.org:

I know you gain some knowledge about WordPress.org and you learn that WordPress is self hosted so you need hosting and domain name. In blogger you only need a domain name because blogger provide free hosting. But in WordPress you need a good and premium hosting.

Can I Use Free Hosting:

If you want your blog to get success then don,t Go with free hosting. I know many companies providing free hosting but dont because they can inject bad codes in your blog and they always show ads in your blog and your blog can penalize by Google. Below i grab a pic from internet and in image they mention some pros and cons of free hosting.

Free Hostings cons and pros

Ok, i hope Now you consider paid hosting instead of free hosting if you care about your blogs. Yes, you can use free hosting for learning etc.

Please suggest me hosting:

There are a lot of awesome hosting companies available on the internet but because I am in Bluehost I recommended you choose bluehost one of best hosting service and also recommended by WordPress.

How to buy hosting from bluehost. Simply [ Bluehost (1 free domain name .com,.net,.org) ].

Please Note: If you buy from this link then I get a  little commission but no extra cost to you. 

Simply buy your plan I recommended you buy the baby plan. You can host unlimited sites in this plan. After completing your process then Login in with your login information and now you are  in your bluehost cpanal.

Main steps:

Ok now here come main things in migration if these steps complete successfully. Then you ll migrate with no headache. Don’t worry all steps are simple.

Domain Pointing:

I start my blogger blog i custom domain so when i set my domain in blogger i set google ips and cname records simply remove them from your domain registrar pannal.

After remove done change your name servers to your hosting name servers you ll get it from from your hosting support.

If you are on bluehost your nameservers look like below.

NS1.Bluehost.com
NS2.Bluehost.com

Now you need to wait 24 hours for proper propagation. Sometime propagation need 48 hours or sometime 4 hours. See if your domain is proper propagate. Then move to next step.

Remove Redirect:

When you set your custom domain in your blogger blog you set redirection. Now its time to remove it from there. Simply In blogger blog click settings and remove redirect and them we move to other step.

 

 

Install WordPress:

Now install WordPress in your hosting. For Better understanding, i provide snaps see below snaps.

  1. Click Simply click on install WordPress and click start on your hosting like in my case in Bluehost.

2. Select your domain.

3. Put your information:

3. Wait sometime.

14-installation

4. Congratulations your WordPress is installed.

WordPress Dashboard:

Now you need to log in your WordPress dashboard simply click on wp-admin or visit www.example.com/wp-admin. Change example with your domain name.

You are in your WordPress dashboard.

  1. Delete default posts,page,comments,
  2. Install And activate (Wp Maintenance) and put your blog in maintenance for your visitors that your blog is in development.

Export Blogger Blog:

For importing First, you need to export your entire blogger blog. Simply login to your blogger dashboard in settings others click export Blog.

Now in your WordPress Dashboard. Click tools click import. And click blogger.

Install and active blogger importer plugin.

After this now click chose to file and select the file which you export from blogger and upload it. Wait for proper upload.

Congrats your all blogger posts is now on WordPress.  You are in half way for complete migration.

Import Pages:

One feature is missing from this awesome Plugin. That you can’t import your Blog Pages to WordPress. So you need to import those manually.

On sidebar of WordPress click on pages make new page name it and then copy data from old blogger pages and paste in WordPress new Page.

Setup Permalinks:

WordPress give you full authority to change permalink but since you are migrating from blogger to WordPress. You have to make your permalinks same like blogger.

Simply in your WordPress dashboard click settings and click permalinks and choose custom permalink and paste below code in it.

/%year%/%monthnum%/%postname%.html

Save it.

Update: You can also choose a good permalink like /post name But for this you need to setup a redirect in your .htacess. Note: htacess is a very important file of your hosting. If you make some mistake your blog can be broken. 

Htacess avaliable in your root path of your hositng. Just open it and paste Below code in your top of htacess.

RewriteEngine on
RedirectMatch 301 /([0-9]+)/([0-9]+)/(.*)\.html$ /$3/

Then you htacess ll look like below.

RewriteEngine on
RedirectMatch 301 /([0-9]+)/([0-9]+)/(.*)\.html$ /$3/
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

Redirection:

Many bloggers recommend you to delete the blogger blog but Promise me that you never delete your blogger because this ll damage your rankings and traffic. We ll simply redirect it and tell the google that we moved. How see below.

Very first thing you need to log in your blogger account then clikc telmpale section.

Scroll down and click the revert to classic template but make sure to make a backup first.

After reverting copy below code and paste there dont forget to change example.com to your domain.

<html>
 <head>
  <title><$BlogPageTitle$></title>

   <script>
    <MainOrArchivePage>
    window.location.href="http://example.com/"
    </MainOrArchivePage>
    <Blogger>
     <ItemPage>
     window.location.href="http://example.com/?blogger=<$BlogItemPermalinkURL$>"
     </ItemPage>
    </Blogger>
   </script>

   <MainPage>
   <link rel="canonical" href="http://example.com/" />
   </MainPage>

   <Blogger>
    <ItemPage>
    <link rel="canonical" href="http://example.com/?blogger=<$BlogItemPermalinkURL$>" />
    </ItemPage>
   </Blogger>
 </head>

 <body>
  <MainOrArchivePage>
   <h1><a href="http://example.com/"><$BlogTitle$></a></h1>
  </MainOrArchivePage>
  <Blogger>
   <ItemPage>
    <h1><a href="http://example.com/?blogger=<$BlogItemPermalinkURL$>"><$BlogItemTitle$></a></h1>
    <$BlogItemBody$>
   </ItemPage>
  </Blogger>
 </body>
</html>

Save your template . Done your visitors now redirect to your WordPress blog.

However, you still need to setup redirection on your WordPress site so that users are redirected to the proper posts.

Copy below code and paste in your theme functions.php file or in a site-specific plugin. You ll get these file in your root theme folder.

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();
}
[code]
The code above creates a blogger to WordPress 301 redirect which is what you need to ensure best SEO.
To make sure the redirection is working click any post in your blogger blog and see it redirecting in your ne wordpress blog.
Feed Redirection:
If you have subscribers in your blog then they stop receiving updates from your blog because your blog is moved.  So you need to set a redirt in your .htaccess. You need to edit this file and paste the following code before any other code in the file.
[code]
<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteRule atom.xml /feed? [L,R=301]
   RewriteRule rss.xml /feed? [L,R=301]
   RewriteRule ^feeds/posts/?.*$ /feed? [L,R=301]
   RewriteRule ^feeds/comments/?.*$ /comments/feed? [L,R=301]
</IfModule>

All your feed ll redirect in your WordPress feed.

Hire me:

If you face any kind of problem or cannot migrate then simply hire me for this job. Contact me I ll do this for you with very cheap price.

Wrapping up:

Done you are now in WordPress and your  migration is successfully Done.So first of all welcome to WordPress. I hope you like this tutorial and successfully done migration.  You ll feel little issues in WordPress but let me know in comments and i ll do my best to solve your problem. Whenever i found new thing in migration i ll update this post with more information.

I ll try my best to update this post with more and good information. These are the simple methods to migrate your blog. I try my best to not confuse you in many steps.

My recommendation is to choose the best day like Sunday  for good migration.

Don't forget to share this post and now on I ll post new post per week.

Happy Blogging.

About the Author Malik Sharjeel Tahir

Sharjeeltahir is a blogger & a WordPress Lover. He loves researching about things that help a blog grow. Welcome to his personal blog.

follow me on:

Join My Community

I'm teaching everything I know about Blogging & Affiliate Marketing, for FREE!

Leave a Comment:

11 comments
Abdul Samad says October 5, 2016

Hello Sharjeel,

Thanks for the useful write up! 🙂

Nowadays, many bloggers migrating their blogs to WP.
I daily get lots of Messages for migrating blogs, I’ll surely recommend this article to them!

Have a great day! 🙂

Reply
    Guest Blogger says October 6, 2016

    Hello Samad,

    Thanks Buddy for appreciating and i hope your friend take benefits from this article.

    Reply
Mohammad Abid says October 6, 2016

Buddy .. This is something you can say WOW! 😉
Thanks Shajeel for writing on the most critical topic..nowadays Majority of Newbie Bloggers migrating their Blogs from Blogger to WP….
Well Explained!
Keep writing these good stuff! 🙂

Reply
    Guest Blogger says October 6, 2016

    Thanks Abid

    I am Glad you like this articles and yes stay tune for upcoming articles 🙂

    Reply
Muhammad says October 7, 2016

Hello Sharjeel,
Nice post. I am doing blogging with blogspot but still don’t want to move to WP. But I have a question. How an we manage the traffic we are getting from search engines already?

Reply
Mikahil Olayinka says October 31, 2016

Hello Bro,
This is really helpful and so clear…thanks for sharing.
i have successfully migrate my blog to wordpress..keep on the good work
Mikahil

Reply
Muhammad Ahmad says November 30, 2016

Hi Sharjeel,
A great write-up indeed.
I migrated some of my blogs to wordpress by implementing WPBeginne’s guide.
You guide is in-depth one 🙂
Keep writing.
~ Ahmad
P.S Do have a look at my latest blog post @ MeetAhmad [dot] com, would love to see your views there 🙂

Reply
Paramjot Singh says November 30, 2016

Amazing! A complete guide to migrating Blogger Blog to WordPress.

It is that what I asked you on Facebook.

Thanks for pinging me after updating your article. <3

Reply
zargham ali says December 22, 2016

Really worth reading article. It was really helpful for in shifting my Blogger Blog to WordPress. All the steps were quick to do, only trouble I face was importing images from articles. I had 110+ articles to shift and each article contains 5 or more images. Finally, I find the plugin “Import external images”. I recommend this plugin to import images to readers of your blog.

Reply
    Malik Sharjeel Tahir says December 23, 2016

    Thanks Zargham for your feedback Glad that you like this and also thanks for this great plugin I ll review then update this post with this as soon as possible. Thanks again keep visiting.

    Reply
Add Your Reply