Blogger To WordPress Migration Guide with Permalink & SEO

Choosing between WordPress and Blogger is a tough decision that new bloggers must make. Most blogging experts and experienced users choose WordPress as the better blogging platform due to its robust features and flexibility. If you are interested in taking your BlogSpot blog to the next level by using WordPress, then you have come to the right place. In this article, we will show you how to move your blogger BlogSpot blog to self-hosted WordPress. Switch from Blogger to WordPress without losing Google rankings (maintain your old URLs, search traffic, Google Pagerank, and RSS Subscribers).

The Ultimate Objective:

You are currently blogging with the domain ( which is hosted at Blogger but you are now interested in converting your Blogging Platform from Blogger to self-hosted WordPress with a custom top level domain name (i.e

The Difficulties (Moving From Blogger To WordPress):

Although with the help of an online tool we can easily import our old published articles and comments from Blogger to WordPress, there are still some bigger problems which require our attention.

  • Few of your published articles on a Blogger BlogSpot blog could be ranked surprisingly high in the Search engines for a specific keyword, but when you move these articles to a new web address the chances are very high that you might lose your existing organic traffic.
  • Once you switched your Blogging Platform the probabilities are extremely high that you might lose your existing Subscribers unless you manually update your old Feeds permalink to your new WordPress Feed address. This is the point when the majority of users won’t update their Feeds and hence notice a significant decrease in their traffic.
  • You possibly will witness a number of ups and downs in your organic traffic if you won’t bring 301 redirects into play. Our intention is to inform the search engines that we now belong to a new destination (web address).
  • After losing your loyal subscribers and search engine ranking, you will notice a significant decrease in your traffic. This will seriously demolish your affiliate earnings i.e. Adsense, and etc.
  • Human visitors have to face lots of difficulties when they try to access your old bookmarked archive link or else if someone links to your old page address, then visitors will not reach your article until or unless they know about the new location of those articles.
  • You may face difficulties with your new blogging platform (WordPress) because WordPress in not identical to blogger it requires a bit of knowledge about coding which can be learned from here

The Explanation:

Now you know the variety of issues that could affect you if we don’t follow the guidelines correctly. Nevertheless, the good news is that we have a straightforward solution to eliminate all these problems in just one take.

You can easily switch from Blogger to WordPress without losing your Feed subscribers or human visitors, and you can even maintain SERP dominance. There is always a way to shift your all Search engine juice from the old BlogSpot address to your new WordPress blog.

Preparing To Move From Blogger BlogSpot Blog To WordPress:

Before we get started, I would like to give you some intellectual advices which may help you during Blogger to WordPress transformation. It may be a fine idea to set-up a dummy blog first. Also, take complete backup of your Blogger Blog including the posts, comments and even your XML template just to be on the safe side.

Step 1: In case you are about to start your journey in WordPress, purchase web hosting along with a domain and install the latest WordPress software on it.

Importing to WordPress from Blogger

Step 2: Now you have to import the entire data of your BlogSpot Blog including posts and comments. To do so go to

  • WordPress Admin Dashboard >> Tools >> Import
  • Now from the list select Blogger.
  • Authorize WordPress to access your Google account by pressing the Authorize button.
  • After authorizing, you will be able to see a list of Blogger Blogs. Just select that blog you wish to import and within few second, it will import your entire Blogger blog to WordPress.
01 <?php
02  /*
03   Template Name: WPBeginner Blogger
04  */
05  global $wpdb;
06  $old_url = $_GET['q'];
07  if ($old_url != "") {
08    $permalink = explode("", $old_url);
09    $q = "SELECT guid FROM $wpdb->posts LEFT JOIN $wpdb->postmeta ".
10         "ON ($wpdb->posts.ID = $wpdb->postmeta.post_id) WHERE ".
11         "$wpdb->postmeta.meta_key='blogger_permalink' AND ".
12         "$wpdb->postmeta.meta_value='$permalink[1]'";
13   $new_url = $wpdb->get_var($q)? $wpdb->get_var($q) : "/";
14   header ("HTTP/1.1 301 Moved Permanently");
15   header("Location: $new_url");
16  }
17 ?>

Step 3: Now copy the above PHP coding and paste it into an empty Notepad document saving it as wpbeginner-blogger.php after which you may use either cPanel or FTP software to upload this file into your WordPress Theme Directory. (Note: You have to upload this wpbeginner-blogger.php file in your theme directory i.e. wp-content/themes/my-theme, where my-theme is the folder name for the theme that you’re using on your WordPress site.)

Edit Page in WordPress

Step 4: Open your WordPress Admin Dashboard and go to Page >> Add New Page. Write “blogger” in the URL and post title while keeping the post body empty. Now Select “Shreetapasya Blogger” from the template drop-down menu and then publish the page.

Revert to classic templates

Step 5: Login to your Blogger account and go to the Newer Blogger Interface >> Template >> Revert to classic template and then you will be able to see an HTML Template box. Just paste the following code into that text box, replacing with your new domain name but make sure you correctly align the http:// and the trailing slash with your web address.

01 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
02 <html xmlns="" xml:lang="en" lang="en" dir="<$BlogLanguageDirection$>">
03 <head>
04 <title><$BlogPageTitle$></title>
05 <script type="text/javascript">
06  <MainOrArchivePage>
07 window.location.href=''
08 </MainOrArchivePage>
09  <Blogger><ItemPage>
10    window.location.href='<$BlogItemPermalinkURL$>'
11  </ItemPage></Blogger>
12 </script>
13 <MainPage><link rel="canonical" href="" /></MainPage>
14 <Blogger><ItemPage>
15  <link rel="canonical" href="<$BlogItemPermalinkURL$>" />
16 </ItemPage></Blogger>
17 </head><body>
18 <div style="border:#ccc 1px solid; background:#eee; padding:20px; margin:80px;">
19 <p>This page has moved to a new address.</p>
20 <h1>
21 <MainOrArchivePage><a href=""><$BlogTitle$></a></MainOrArchivePage>
22 <Blogger><ItemPage>
23  <a href="<$BlogItemPermalinkURL$>"><$BlogItemTitle$></a>
24 </ItemPage></Blogger>
25 </h1>
26 </div> </body></html>
27 <!-- replace with your WordPress site URL --->

All Done: Open any of your old posts that were previously hosted at Blogger and it should redirect you to the corresponding WordPress post. Since, we have been using permanent 301 redirect all of the Google PageRank juice will pass to your new WordPress (this takes some time).

How To Update RSS Feeds:

When you move to WordPress the address of your feeds will be changed as well. So to redirect your Blogger Feed to WordPress go to Blogger >> Settings >> Site Feed >> Custom Feed >> and write your new WordPress feed address, and now your old feeds will automatically shift to your new WordPress feeds. You should also consider using FeedBurner for your WordPress feeds.

Resolving Some Common Issues (Your Questions Our Answers)

  1. After applying the complete tutorial correctly I am getting a 404 Not Found Error.Answer: The 404 not found page will only come into action if you have either forgotten to upload the shreetapasya-Blogger.php or you’re not uploading it to the correct destination.
  2. I am getting a blank screen when I view my old Blogger links.Answer: You are encountering this problem because you have not copied the shreetapasya-Blogger.php file correctly. To resolve this issue replace the existing file with the new one.
  3. Everything is fine but still it’s not working.Answer: You will encounter this problem if your WordPress and Blogger Blog don’t have the same permalink structure. WordPress Dashboard >> Settings >> Permalinks >> Custom Structure >> /%year%/%monthnum%/%postname%.html.

Shree Tapasya

Sumeet Kalsey is a WordPress fanatic and loves experimenting with WordPress themes & plugins.
Also Search for new contents and software’s in free time. Get more from Kalsey on
& Facebook

Shree Tapasya

Sumeet Kalsey is a WordPress fanatic and loves experimenting with WordPress themes & plugins. Also Search for new contents and software's in free time. Get more from Kalsey on Google+ & Facebook

No comments yet.

Leave a Reply