Switch from Blogger to WordPress Without Losing Google Ranking [With Images]

Are you looking for a complete guide for Blogger to WordPress migration? Find all essential step by step process to switch from Blogger to WordPress with 301 redirections, without losing Google keywords ranking, and without losing organic traffic.

BlogSpot (blogger.com) is the awesome tool to quickly strat with blogging. Many bloggers (Including me) start their blogging career with this free blogging platform. At a time of starting my blogging journey, I have picked up Blogspot to host my first blog with the thought that I will switch from Blogger to WordPress in future.

Building a blog with BlogSpot Blogger free hosting platform would have few limitation to control blog. But with the self-hosted platform like WordPress will give us full freedom to control each and every aspect of our blog. So, to control blog fully, a blogger must have to migrate from free hosted platform BlogSpot (blogger.com) to self-hosted platform WordPress.

If you are one of them who wish to have more control and freedom, then plan for a self-hosted blog on WordPress. Leveraging this platform you can have benefits like SEO, Customization, and most important the freedom to do anything you make changes on your blog.

Many bloggers are afraid of migrating blogger to WordPress. They are afraid to lose blog post they wrote and published, images they have added, keyword ranking they achieved, PageRank, and few more thing.

Don’t worry my friends, there is a secure and trusted way to migrate from BlogSpot Blogger to WordPress without losing a single thing.

This post covers complete guide to switch from Blogger to WordPress. Now, you can migrate your blogger blog to WordPress in an easy way and hassle free. Go through step by step procedure to transfer blogger to WordPress with 301 redirection and without losing Google or other search engines ranking.

Before You Start Blogger To WordPress Migration

Export/Back-up your Blogger Blog

Before you move ahead and start migrating from Blogger to WordPress, you must back up your blog. To take backup of your blogger blog follow below mentioned steps.

Step #1. Login to Blogger and navigate to Setting Tab

Step #2. Click on Other.

navigate to setting-other to back up blogger data

Step #3. Select “Back Up Content” and then “Save to Your Computer”.

back up blogger data before migrating to WordPress

Save blogger data XML file on your computer

Your Blogger’s Blog content will be downloaded in XML file format on your computer.

Buy a Self-Hosted Service

To host your blog and run it with WordPress CMS, you must need self-hosted service. I suggest buying hosting service from Bluehost. It is recommended by WordPress and community members as well. Along with the hosting service, Bluehost offers free domain.

If you are looking for few more options, then here I have listed few of the best hosting service providers. Check them out.

Redirects

Before migrating your blog from BlogSpot to WordPress, don’t give lots of 404 error pages to your visitors.

To switch your blog from Blogger to WordPress it is important that you use 301 redirects.

Don’t get confused. You will find answers to all queries relates to Blogger to WordPress migration in this post. And you can switch your blog to WordPress without any 404 errors and with 301 redirections as well.

Our Goal to Achieve with Blogger to WordPress Migration

  • Switch Visitors to blogger blog to newly hosted WordPress blog.
  • Migrate all content (Blog posts, comments, images and few more) from blogger to WordPress.
  • Migrate Feeds.
  • Make WordPress CMS Ready to transfer from Blogger to WordPress.

Over here, I have described step by step process to follow before you transfer/switch/migrate from Blogger to WordPress. Make sure you follow each step carefully for moving a blog to WordPress.

Step #1. Point your domain to Self-hosted service you bought.

In this step, you will require changing the DNS setting of your domain. You will need to change/add new cName records, Name Servers and may A-Records to point your domain to self-hosted domain service.

If you are not aware how to do that, I suggest contacting domain support service from where you bought your blog domain.

Step #2. Install WordPress on Self-hosted service.

In this step, you will require installing WordPress CMS to host and run your current blog. Many web service providers have one-click installation process. Find that and install WordPress, or you may contact self-hosted service providers to install the same.

Step #3. Remove dummy content of WordPress Installation.

At a time of installing WordPress, it will also install dummy content like few posts, plugins, theme and few more. Remove those dummy post by navigating to Posts → All Posts. Select all dummy content and move those content to Trash.

Follow the same process and delete Sample Pages. Navigate to Pages → All Pages. Select Sample Pages and move to Trash.

Step #4. Deactivate/Remove by default plugins.

Before you migrate Blogger to WordPress, it is essential to disable by default installed WordPress Plugins. You can also remove unwanted plugins. Navigate to Plugins → Installed Plugins. Select all installed plugins and check deactivate.

Now let’s move to the process of migrating blogger to WordPress.

How to Migrate Blogger to WordPress?

# Import Blogger Data to WordPress

Over here, you will find all the key essential steps to migrate from Blogger to WordPress. Focus on each step and make sure you perform exact process mentioned below for successfully transferring blogger to WordPress.

Step #1. Import Blogger Data to WordPress.

To import Blogger’s blog data to WordPress, login to WordPress CMS. Navigate to Tools → Import and Click on Install Button under “Blogger”.

Install Blogger add-on to import blogger data to WordPress

Step #2. Once it installed, you will find a new navigation option “Run Importer”. Click on that.

This will navigate you new Blogger Importer Admin page. Over here, upload Blogger’s blog XML file you downloaded. Click on “Upload File and Import” button.

Upload blogger XML file to complete import data to WordPress

Step #3. Select/Assign Author.

At a time of importing, WordPress Importer will ask to assign existing author or create new author for all posts. Pick the one or create a new author.

Assign author to individual blog posts in WordPress

Step #4. All Done.

Congratulation, importing blogger data to WordPress is completed, have fun.

Import Blogger Data to WordPress Blog

# Setting Up Permalinks

I hope you are families with the Permalinks in WordPress. If you are not then read this guide and understand what is SEO Friendly URLs in WordPress!

WordPress comes with an excellent feature to build SEO friendly URLs for an individual post. This means you can customize URLs of posts, which can be done with perfect setup of permalinks.

However, you are importing Blogger’s Blog to WordPress then you should keep post URLs as close as your blogger’s blog has.

To set up permalinks, navigate to Settings → Permalinks in WordPress CMS. Select “Custom Structure” and add below code in the next field.

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

# Setting Up 301 Redirections

Two most important processes, import blogger data to WordPress and Setting up Permalinks are done. Now, it’s time to redirect Old blogger Visitors/crawlers/bots to new WordPress blog.

Redirecting them to WordPress blog is easy. Few tweaks in code and you are done. Don’t worry, here is easy and step by step process to 301 redirect blogger blog to WordPress. Just follow them carefully.

Setup Redirects in WordPress file

Over here, you will require making changes in theme’s “functions.php” file. Most of the WordPress themes contain functions.php file. But be sure you must take backup of this file before you make any changes to it.

Step #1. Open up your WordPress Dashboard.

Step #2. Navigate to Appearance → Editor

Step #3. Open “functions.php” file.

Step #4. Copy and Paste below code at the very first line of “functions.php” file.

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();

}

This is above code will redirect all blogger blog redirecting a request to respective WordPress Blog Posts or Pages. This is the best practice to pass link juice and best SEO Practice to migrate Blogger to WordPress without losing Google Rankings.

Setup Redirects in Blogger

Now, let we change few more code lines blogger’s blog. Don’t worry it is as easy as you added code in WordPress theme functions file.

Step #1. Login to Blogger.com

Step #2. Navigate to “Theme” from the left side menu.

Navigate to Bloggers themes to setup 301 redirects

Step #3. Click on “Revert to Classic Theme”.

revert to Blogger classic theme to setup redirects to WordPress

Once you revert to the classic theme, you will find “Edit Theme HTML”.

Edit Blogger Theme HTML to set up 301 Redirection to WordPress

Step #4. Replace all lines under “Edit Theme HTML” with Following HTML code. Make sure you replace “example.com” with your domain name.

<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>

# Redirect Blogger’s Feed to WordPress Feed

It is essential to redirect blogger’s blog feed to WordPress Feed, as a user might notice this change. Redirect feed too.

Step #1. Navigate to Setting → Other in Blogger Dashboard.

Step #2. Under site feed, click on “Add” link next to “Post Feed Redirect URL”.

Step #3. Add WordPress feed URL like http://www.bforblogging.com/feed Replace bforblogging.com with your domain name.

redirect RSS Feed from Blogger to WordPress

Step #4. Save setting and you are done.

# Import Blogger Images to WordPress Media Library

The final thing you need to implement is “Importing Blogger images as WordPress Media Library files”. To complete this process, you will need one WordPress Plugin “Import External Images.”

Step #1. Download Import External Images Plugin.

Step #2. On WordPress Dashboard, navigate to Plugins → Add New.

Step #3. Click on “Upload Plugin” and upload downloaded plugin file.

Step #4. Activate the Plugin.

Step #5. Navigate to Media → Import Images.

Step #6. Over here you will find all posts those have external images to import.

Step #7. Select all and Import all Images.

All Done now, but What Next?

Migration from Blogger to WordPress is Completed – What Next?

I am sure that you have followed all the steps carefully and switched from Blogger to WordPress. After implementing moving to WordPress few things you need to take care to boost your blog reachability and get more engagement on your blog.

  1. Follow this Updated SEO Checklist to boost your blog ranking in major search engine.
  2. Make a use of LSI Keywords to Boost SEO Traffic.
  3. Make a use of Email Marketing to build email marketing lists and get more email response. Here are 57 Powerful Tools to Grow Your Email List.

One final note: Do not Delete your blogger blog. This will help you to prevent from data loss, and you can keep one copy your blogger blog with you.

I hope, all above-mentioned process are easy to follow, and you have successfully migrated your blog from Blogger to WordPress.

If you have any question, then fill free to ask me by commenting below. I will answer them for sure.

Keep Blogging and Make Money Online…!!!