How to Migrate from Blogger to WordPress without Losing Google Rankings

How to Migrate from Blogger to WordPress without Losing Google Rankings

Are you thinking about migrating your blogs from Blogger to a WordPress platform? So, users, you are on the right path to earning more control over your blogs or website and good customization options.

Many people will start on Blogger because it’s free and simple to use. It is a good platform to start learning the trade of blogging and website building. Moreover, once you start getting more traffic and subscribers, a self-hosted WordPress blog generally makes more sense.

Before Starting the Steps, you have to purchase a domain name and web hosting.

For a quick guess, a domain name is your website’s address that people type to get to your blog, and web hosting is where your website files are stored. Both of these are MUST to create any type of blog / website.

Gen X Web Hosting created a Manged WordPress named as WP Canvas. You can easily get a free trail of it by just a single step signup, click here to get it with a Coupon Code : WPCANVAS.

Lets Start with Migration from Blogger to WordPress

Step 1. Export Your Blogger Blog’s BackUp

The first thing you need to do is export your Blogger blog’s content. You can do this by logging into your Blogger dashboard and going to Settings » Other page. You need to click on the ‘Back up Content’ button, under the ‘Import & back up’ section .


This will shows up a popup where you need to click on the ‘Save to your computer’ button.


Your Blogger blog’s backup will be downloaded to your computer in an XML file. Once the file download is complete, it is time to import your backup into your WordPress site.

Step 2. Import Blogger Blog’s Backup to WordPress

Importing your Blogger site into WordPress, you need to login to your WordPress admin panel and visit Tools » Import. On the Import page, go ahead and click on the ‘Install Now’ link below Blogger.


WordPress will now download and install the Blogger Importer plugin for you. Once it is finished installing, you would need to click on the ‘Run Importer’ link to continue.

importer installed

On the Import Blogger screen, WordPress will ask you to upload the XML file. This is the file that you downloaded in Step 1.

Simply click on the choose file button and upload the XML file you downloaded earlier. Next, you need to click on the Upload file and import button to continue.

upload import file

Next, you will be asked to assign posts to an author. If you had multiple authors on your Blogger blog, then you can create a new user account for each author. You can also assign these posts to existing authors on your WordPress site.

assign authors

After making your selection, click on the submit button to continue.

WordPress will now import all content from the Blogger export file to your WordPress site. You can view the content by visiting Posts » All Posts page.

Step 3. Setting up Permalinks

Permalinks is the term used for URL structure of individual pages. WordPress comes with a feature that allows you to set up SEO friendly URL structure. Since you are importing content from Blogger, you need your URL structure to be as close to your Blogger URL structure as possible.

To set permalinks, you need to go to Settings » Permalinks screen in your WordPress dashboard and choose the custom structure option. After that, you need to add the following text in the box next to the custom structure field.



This permalink structure makes your blog posts URLs similar to the URLs on your old Blogger blog.

You will need to add this code to your WordPress theme’s functions.php file.

add_action( 'init', 'wpb_update_slug' ); 
function wpb_update_slug()
global $wpdb;$result = $wpdb->get_results("SELECT post_id, meta_value FROM $wpdb->postmeta WHERE meta_key = 'blogger_permalink' ");
foreach ($result 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' ");
echo "DONE"; 

After saving the code, you just need to visit any page on your WordPress site to trigger this script.

Note: After the script has run, don’t forget to delete it from your functions.php file because it only needs to run once.

Step 4. Setup Redirection from Blogger to WordPress

The most important step in migrating any website is to setup proper redirection, so you do not lose any existing traffic or SEO rankings.

The most complex part of the redirection is to ensure that your users land on exactly the same page on the new site which they were trying to access on the old site. At the same instance, we also need to ensure that search engines understand that your website is migrated to this new location.

To do that, you need to install and activate the Blogger to WordPress Redirection plugin.

After activating this plugin, you need to visit Tools » Blogger to WordPress Redirection page and click on the ‘Start Configuration’ button.

redirection code

The plugin will now detect the URL of your Blogger’s blog and show you the option to Get Redirection Code. Go ahead and click on the ‘Get Code’ button next to your Blogger URL.

It will now generate a code snippet that you need to properly redirect users from your Blogger’s blog to your new WordPress site.

Next, you need to login to your Blogger dashboard and go to the ‘Themes’ page. Under your blog preview image, you need to click on the ‘Edit HTML’ button.

edit blogger theme

Blogger will now display the custom HTML code for your theme. If you made any customization to your Blogger theme, then you may want to copy the code and save it on your computer as backup.

Otherwise, you can just go ahead and delete everything. After that, copy the code displayed by the plugin on your WordPress site and paste it into your Blogger theme editor.

Don’t forget to click on the ‘Save theme’ button to store your changes.

Next, we need to set up redirects for mobile users.

You need to go back to the Themes page on your Blogger’s blog dashboard. This time you need to click on the gear button below the mobile preview of your blog.

edit mobile theme

This will bring up a popup where you need to select ‘No. Show desktop theme on mobile devices’ option and click on the save button.

mobile disable

That’s all, your Blogger blog will now redirect all your blog visitors to your new WordPress blog.

We hope this blog helped you migrate from Blogger to WordPress without losing your Google search rankings.

If you liked this article, then please subscribe Us.

Back to Top