How to Migrate from Blogger to WordPress Without Loosing the Traffic & No Downtime (Updated)

97
319
0
(0)

Blogger is a wonderful free platform to start your blog. It is easy for a beginner to start with blogger, but sooner or later one would want full control on their blog. Shifting or Migrating the blog from blogger would generally result a noticeable drop in Google rankings and there by the traffic if you don’t configure things properly. But here in this step by step guide I will help you migrate from Blogger to WordPress without loosing traffic and search engine rankings.

Why you should move your blog from Blogger to WordPress?

I might be a little harsh over here but lemme tell you the truth. If you are blogging on Blogger platform you need to migrate your blog right away to WordPress or else you would be loosing a lot in terms of traffic, SEO and revenue. Blogger is good to get started but you should not stick to it for a longer time. You should move your blog right away from Blogger to wordpress in order to progress.

Few more reasons why Blogger is not recommended for Blogging:

  1. Blogger is owned by Google and they have complete rights over your blog. They might change anything suddenly without informing and they also have the right to delete your blog at any point of time which happened in my case as well.
  2. Blogger cannot be customized the way you want. Its easy to customize blogger but again it has several restrictions.
  3. Blogger is optimized to some extent by default but WordPress blogs are more SEO optimized.
  4. The only advantage of blogger is it can handle unlimited traffic as it is in cloud and free hosting provided by google. But unfortunately there are chances of your blog getting deleted if you receive high traffic even without informing you in prior.

Things you need before getting started with WordPress:

1. A Good Hosting Provider:

WordPress blogs are self hosted, for this purpose you need a good and reliable hosting provider to host your blogs. If you are just getting started and your blog doesn’t has much traffic then I would recommend you to go with some good shared hosting like Bluehost. But if you are looking forward to move to a very reliable hosting then you can contact me, I will suggest you the best hosting provider.

2. Cloudflare account (Optional):

Though its optional I would highly recommend you to have a good CDN like Cloudflare. It has many advantages.

  1. Cloudflare saves your blog from serious threats like DDOS and other security threats.
  2. Its a CDN so will decrease the load on your server and boosts the blog loading time. Once you configure your blog with cloudflare, the blog will load a lot faster than before.
  3. Pointing is easy with Cloudflare. Once you point using A names it takes effect instantly and you can migrate the blog without downtime.

Steps to Migrate From Blogger to WordPress:

Method 1:

Step 1: Download the XML file of the site you want to migrate from your Blogger Dashboard. 

Open you blogger dashboard and navigate to Settings-> Other and then click on Export Blog. This will download an XML file to your system.

export blog

Step 2 : Import the .XML file to WordPress

To import your Blog to WordPress, go to Tools-> Import and then click on Blogger.

install-blogger-importer

A pop-up will appear, asking you to install blogger importer plugin. Click on the Install button. Once it is installed, activate the plugin and Run Importer link to continue.

run-blogger-importer

Once you activate the plugin and Run the importer, you will be asked to upload the .XML file you exported from the blogger dashboard.

 

 

Once the upload is done, you need to assign an author to the posts to be imported. That’s it, you now have successfully imported your Blogger blog to WordPress..!

But you still need to make sure that you don’t loose any search rankings and visitors to your old blog.

Step 2 : Setting up Permalinks

From your WordPress Dashboard, go to Settings > Permalinks and then select Custom Structure option. Paste the following value next to it and save changes.

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

Step 3 : Setting up Redirection

This is the most important step in moving any blog so that users are redirected to your new blog. You would want users to land on exactly the same page on the new site and also want the search engines to notice that your old site is moved to new location.

You need to setup redirection on two levels. First, redirect blogger visitors to your new WordPress blog. Secondly, once users reach your WordPress site you will redirect them to exact post they were accessing on your Blogger blog.

Setting up redirection on Blogger blog:

Log on to your Blogger account and go to settings. Click on Template.

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

revert-classic-template

After that, you will see “Edit Template Html” text area. You need to replace the entire code with the following code.

<!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$>">
<head>
<title><$BlogPageTitle$></title>
<script type="text/javascript">
 <MainOrArchivePage>
window.location.href='https://www.alltechbuzz.net/'
</MainOrArchivePage>
 <Blogger><ItemPage>
   window.location.href='https://www.alltechbuzz.net/blogger/?q=<$BlogItemPermalinkURL$>'
 </ItemPage></Blogger>
</script>
<MainPage><link rel="canonical" href="https://www.alltechbuzz.net/" /></MainPage>
<Blogger><ItemPage>
 <link rel="canonical" href="https://www.alltechbuzz.net/<$BlogItemPermalinkURL$>" />
</ItemPage></Blogger>
</head><body>
<div style="border:#ccc 1px solid; background:#eee; padding:20px; margin:80px;">
<p>This page has moved to a new address.</p>
<h1>
<MainOrArchivePage><a href="https://www.alltechbuzz.net"><$BlogTitle$></a></MainOrArchivePage>
<Blogger><ItemPage>
 <a href="https://www.alltechbuzz.net/<$BlogItemPermalinkURL$>"><$BlogItemTitle$></a>
</ItemPage></Blogger>
</h1>
</div> </body></html>

Make sure that you replace https://www.alltechbuzz.net with your domain name.

Save your template, and you have successfully implemented redirection on your Blogger blog.

However, you still need to setup your redirection on your WordPress site so that users are redirected to the proper posts. To do that, you need to create a new file using a plain text editor like Notepad. Give this file a name like fixlinks.php and copy this code in the file.

<?php require_once('wp-load.php');
$res = $wpdb->get_results("SELECT post_id, meta_value FROM $wpdb->postmeta WHERE meta_key = 'blogger_permalink'");
$wpdb->print_error();
foreach ($res as $row)
{ $slug = explode("/",$row->meta_value);
$slug = explode(".",$slug[3]);
 $wpdb->query("UPDATE $wpdb->posts SET post_name ='" . $slug[0] . "' WHERE ID = $row->post_id");
 $wpdb->print_error();
}
echo "Permalinks are Fixed! Welcome to WordPress, Happy Blogging";
?>

Upload the file to public_html of your wordpress installation.

Now you need to run this php code on your site from the following link to fix the permalinks issues. You should get a message as done.

http://www.yoursitename.com/fixlinks.php

Step 4 : Redirect Feeds

On your old blogger site, your feed subscribers will not be able to notice the switch from Blogger to WordPress. They might bookmark your Blogspot site in their browser and so, it would be best to redirect your blogger feed to your new WordPress site’s feed as well.

For that process to go on, you need to Login into your Blogger account. Go to the Settings & click Other. You’ll be seeing Site Feed section, Under that Click on Add link next to Post Feed Redirect URL.

Here you can type the web address of your new WordPress RSS feed here and the existing RSS subscriber will automatically move to your new feed.

Method 2: (Update: Oct, 2016 – This Method Doesn’t Work Properly)

Recently, the last time I tried to migrate a blog from blogger to WordPress, I couldn’t do it by using the Method 2, i.e. through Blogger Importer plugin. I later realized that the plugin no longer works because Google no longer supports the “OAuth 1.0” authentication. It has been updated to a newer version “OAuth 2.0” at this time. So, we cannot have to try for alternate method until the plugin supports.

Note: Currently the problem has been resolved and the Blogger Importer plugin is working absolutely fine! So you can go ahead with the 1st method which is easier. More over, the Blogger XML file to Wordpress WXR Converter Link is not working. 

Step 1: Download the XML file of the site you want to migrate from your Blogger Dashboard. 

Open you blogger dashboard and navigate to Settings-> Other and then click on Export Blog. This will download an XML file to your system.

export blog

Step 2: Convert the XML file to Wordpress WXR export file which is suitable to import in to the WordPress Blog. 

You cannot directly upload the XML file in to WordPress, so you need to convert it by using this tool.

xml to wxr

Step 3: Import the WordPress WXR file to your new WordPress installation

Once the XML file is converted and downloaded, you need to import it into your new WordPress installation directly by using the WordPress Importer.

Click Import, and the import is done. You can now find all the articles, comments and pages along with images in your new WordPress site.

Step 4 : Setting up Permalinks

From your WordPress Dashboard, go to Settings > Permalinks and then select Custom Structure option. Paste the following value next to it and save changes.

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

Step 5 : Setting up Redirection and Fixing permalinks

This is the most important step in moving any blog so that users are redirected to your new blog. You would want users to land on exactly the same page on the new site and also want the search engines to notice that your old site is moved to new location.

You need to setup redirection on two levels. First, redirect blogger visitors to your new WordPress blog. Secondly, once users reach your WordPress site you will redirect them to exact post they were accessing on your Blogger blog.

Setting up redirection on Blogger blog:

Log on to your Blogger account and go to settings. Click on Template.

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

revert-classic-template

After that, you will see “Edit Template Html” text area. You need to replace the entire code with the following code.

<!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$>">
<head>
<title><$BlogPageTitle$></title>
<script type="text/javascript">
 <MainOrArchivePage>
window.location.href='https://www.alltechbuzz.net/'
</MainOrArchivePage>
 <Blogger><ItemPage>
   window.location.href='https://www.alltechbuzz.net/blogger/?q=<$BlogItemPermalinkURL$>'
 </ItemPage></Blogger>
</script>
<MainPage><link rel="canonical" href="https://www.alltechbuzz.net/" /></MainPage>
<Blogger><ItemPage>
 <link rel="canonical" href="https://www.alltechbuzz.net/<$BlogItemPermalinkURL$>" />
</ItemPage></Blogger>
</head><body>
<div style="border:#ccc 1px solid; background:#eee; padding:20px; margin:80px;">
<p>This page has moved to a new address.</p>
<h1>
<MainOrArchivePage><a href="https://www.alltechbuzz.net"><$BlogTitle$></a></MainOrArchivePage>
<Blogger><ItemPage>
 <a href="https://www.alltechbuzz.net/<$BlogItemPermalinkURL$>"><$BlogItemTitle$></a>
</ItemPage></Blogger>
</h1>
</div> </body></html>

Make sure that you replace https://www.alltechbuzz.net with your domain name.

Save your template, and you have successfully implemented redirection on your Blogger blog.

However, you still need to setup your redirection on your WordPress site so that users are redirected to the proper posts. To do that, you need to create a new file using a plain text editor like Notepad. Give this file a name like fixlinks.php and copy this code in the file.

<?php require_once('wp-load.php');
$res = $wpdb->get_results("SELECT post_id, meta_value FROM $wpdb->postmeta WHERE meta_key = 'blogger_permalink'");
$wpdb->print_error();
foreach ($res as $row)
{ $slug = explode("/",$row->meta_value);
$slug = explode(".",$slug[3]);
 $wpdb->query("UPDATE $wpdb->posts SET post_name ='" . $slug[0] . "' WHERE ID = $row->post_id");
 $wpdb->print_error();
}
echo "Permalinks are Fixed! Welcome to WordPress, Happy Blogging";
?>

Upload the file to public_html of your wordpress installation.

Now you need to run this php code on your site from the following link to fix the permalinks issues. You should get a message as done.

http://www.yoursitename.com/fixlinks.php

Note: One of the most important point to be noted here is that the images which you uploaded in the Blogger are not imported into the WordPress Uploads by using this method.

Step 6: Importing Images from Blogger to WordPress:

Importing Images to your WordPress will make sure that you will not loose the images which you uploaded in blogger. This can be done in many ways, but out of experience I recommend you to use importer plugins to do the job for you. One of the plugins which I used is “Cache Images WordPress Plugin“. The plugin has not been updated recently, but it worked fine for me.

Install the plugin to your WordPress and activate it. Navigate to Tools-> Cache Remote Images 

cache remote images

Click on Scan or Scan (including linked) and you will get a list of domains from which the images can be cached. Then simply click Cache from this domain button and the images are imported directly to your Uploads folder and all the previous Image URLs are also replaced with the new ones.

If you want to take professional help in migration process then you can contact me. I can do the migration for you. Let me know if you are having any trouble in the migration process in your comments.

0 / 5. 0

97 COMMENTS

  1. Awesome article on migration from blogger to wordpress. I searched a lot about this but i can’t proper article..And finally i got this here…Thanks for sharing this awesome article bro…

  2. WordPress is the best CMS in today’s era of blogging. There are millions of blogs running at WordPress. Many bloggers are using Blogger.com or WordPress.com. Specially beginners use these platforms.
    But after sometime it is necessary to move to WordPress.
    The main problem occurs with newbies is to migrate from Blogger to WordPress.

    The method you have describe is great. It will help many bloggers.

    Thanks for the post.

    ~Ravi

  3. I’ve tried it but that process is difficult. You guys make it so simple like having a piece of cake. Keep on sharing such kind of informative stuff.

  4. This is something that i have been looking for a long while.I was actually planning to do the same and was worried of loosing traffic, and now got what i want.I have a doubt whether we canchange the permalink structure later to custom for new posts? will it hurt overall Seo? Thank you.

  5. Hey Imran, Great info here. Just curious to know and a lil question. Does it affect SEO performance if we move a blog from wordpress to blogger. Means if sites seo is good on wordpress, would its new articles will rank good using blogger too??
    Thanks for help in advance.

  6. Hi Bro,
    WordPress is Save and Best Platform for Blogger.New Mostly Blogger Migrate on WordPress. This Guide is very Helpful For Me and Other People who want to Migrate Blogger to WordPress.it is very Easy way .
    Thanks Keep up it

  7. Not just blogger. This applies to the blogs hosted on wordpress.com platform too. It is very restricted and you can’t do much and revenue is very low. My site is hosted on wordpress.com now and I’m planning to migrate to self-hosted website. This article is of very much help for me. Thanks Imran for sharing this.

  8. Thanx for the wonderful post imran bro.
    my friend was searching for the right article but didnt found.
    found it very helpful.
    looking for more articles like this.

    ___ Chaitu ____

  9. Hey, Imran

    The main problem in Blogger is that Google will delete the Blog without informing to the Bloggers.

    It’s really Good to move the platform to WordPress. Thanks man for the nice info

  10. Great article ..useful information shared how to migrate blogger to wordPress without losing traffic..By reading this post it will be easy to migrate blog for people step by step. Thanks for sharing

  11. Currently I’m using custom domain for by blog spot. now I’ll have to try with these steps that you have provided. Your posts always helps that too step by step would help much better way, thanks again

  12. Hi Imran,

    One of my friend having a Blogspot blog and he asked me to migrate blogger to wordpress. But i don’t know that how to convert it, so i am going to suggest this article to my friend.

    Thanking you

  13. This information is spread across the internet. But, I wanted to know the information inreverse.

    Case: If suppose somebody starte a blog in WOREPRESS, due to some reasons, he/she/they wanted to move to BLOGGER

    Is there any way that we can migrate from WP to BLOGGER without any SEO issue?

  14. Hi Bro,
    Now Mostly Blogger Move on WordPress it is very helpful post for newbies and pro blogger who not know how to migrate blog to WordPress. Thanks for sharing with us keep up it
    Have a nice week a head 🙂

  15. This method is no longer working blogger importer plugin is not working because google shutdown the openID 2.0.. Please update new method.

      • Hello there i was trying to convert .xml to wxr file but the tool website doesn’t work anymore and i don’t know what to do.I don’t have a linux machine to run the script and convert it.i found the code on github but no use please provide me a alternative solution

  16. really …this is a wothy atricle for me becaue i want to migrate one of my blog to wordpress and one good thing is that it will not effect on trafic.

  17. Brother i am getting this error while migrating “Reminder: Deprecated APIs were discontinued on April 20th, 2015. To restore service, update to the replacement API.” please go through it and revert me as soon as possible
    Thank you.

  18. Thanks Imran.. I was always feared about this traffic drop.. Since i’m always deals with Blogger free hosting.. This article motivating me to migrating me to wordpress hosting. 😉 🙂

  19. hi! I finished importing and setting up my wordpress account from blogspot. But i havent been able to import the comments!! needless to say I am very upset about that. Can you please pleaseeeee help me out!!
    TIA

  20. Hello Sir Imran Ji,
    First of all thank you for such a wonderful post which is really helpful for us specially for me that one of my blog have a ssc result niche was working very good on blogspot but i wanted to switch on wordpress for my own control.
    As i am fearing that may be Google can close my account so i am doing migrate my full blog to wordpress. I will do now with this tutorial…
    Thank you again.

  21. Imran Sir
    i want to ask one more thing if i migrate all the pages from blogger then will it not show any 404 when it found any not having post…………………Thank You in advance

  22. Hii imran thanks for sharing this article every fear out these problem that if they migrate blogger to wordpres they might loss traffic you have written very usefull article on this. As in my sense using wordpress is good than using blogger.

  23. The best article of ATB ..Thanks for this, I have a question that – How will adsense treat new WordPress blog , I mean to say does it effect the adsense account after migration.

  24. recntly google update thir API.thanks for this tuts its really help me to migrate my client website

  25. I want to migrate my blog from WordPress to Blogger. Tell me the complete processor step by step just like this post plz.

  26. Hi Imran, Great Post

    May i ask you any alternate available to the Blogger2wordpress.appsopt.com as it appears to be non functional now . i mean an online convertor like the same

    Thanks

  27. Hello all , when i update post on sojoinc.blogspot.in then i want to add this post automatically on my wordpress website . because requirement is to feed a post on blogspot and this post also add automatically on my website like vivo360inc.com/insight page so can its possible to do this help me.

  28. Hello…
    I always search about this but never find such informative information like you describe in this article. It is very much helpful for me and for other bloggers as well.
    Keep writing such kinds of stuff.
    Thank you.

  29. Great informative post for blogger. I have a blog in blogger platfrom now I migrate this blog from blogger to wordpress by this way. Thanks for great sharing.

  30. This tutorial looked somewhat lengthy and confusing to me at first but when I followed each and every step one by one, everytime happened smoothly. Thanks for this tutorial.

  31. Hi,

    First of all thank you for asking question what you felt about the article.As we said earlier it’s about our personal experience and just shared the moment during the migration.Thank you.

  32. Hi
    I have a strange question about traffic.
    I switched from blogger to wordpress and done all that redirects and links from other sites point to my posts in wordpress, it’s all great, even my alexa rang growing day by day, but in my wordpress dashboard there is not traffic, just about 10- 90 (if i share a post) , I know it takes time to google notice the change but my all posta are there in google search, my alexa is: 542,995 in my country 275 which is very good ranked, now i wonder WHERE IS MY TRAFFIC GOES TO? 😀 (I must mention that in blogger i had a lot of traffic, over 200 visits daily even if I don’t write a post) Any idea please??

  33. I have a Hindi blogger blog with custom domain. I have written the title of the posts in Hindi and the Links are written in English using the permalinks option. What different procedure I will need to do while migrating from blogger to wordpress on Bluehost.
    Please reply.

  34. Hi
    I did all that but my traffic drop down, I had in a blogger over 200 daily visits (without making posts) but now I have just 10-70 daily, any idea please..?

  35. Thank You, Imran for a very informative article.
    I work on blogger. I Was looking for a decent in depth article to move it from blogger to WordPress. and I found it.
    Thanks once again.

  36. Hi, Best Guide I Have Ever Seen , I’ll be using it in future but for now I’m running my Blog Tutorials Hubs on Blogger Platform By Google.

    Thanks Alot Again

  37. whatsapp Baixa thank your share. We feel very pleased about that. The application that we want to bring you surely will completely surprise you about it. Please support us. Thank you!

Comments are closed.