How to migrate your blog from Blogger to WordPress


Blogger is a free tool to start blogging in these days, many bloggers have set up blogs (like just to have blogging. But soon after they realized the limitations of this sub domain and want to start the blogging on self hosted platform (like Although there are many CMS , but the most effective and user-friendly is wordpress. They also wished to keep rankings , Search Engine Traffic, users , subscribers and even fans.

But how…?

I will explain it in the easy steps to migrate from blogger to wordpress.

Note: It is recommended to create a backup of your blogger blog.

migrate from blogger to wordpress

How to migrate your blog from Blogger to WordPress:

  • First of all you need a Self hosted Domain, so just go ahead and purchase it.
  • Install wordpress (latest version from and after that log in to Dashboard.
  • Go to your Dashboard > Tools> Import and click on Blogger.
  • This will guide to install Blogger Importer Plugin, so install and activate it.
  • On the next screen you are asked to authorize wordpress to import your blogger blog. You need to click Authorize button on this Page. This will take you to Google Account Page.
  • On your Google Accounts page, you will be notified that the application WordPress is requesting permission to manage your Blogger account. You need to click on the Allow Access button to continue.
  • This will redirect back to wordpress dashboard where you will see a list of all blogs you have. Just to click the Blogger blog (you want to Import to wordpress) and click Import button next to it.
  • WordPress will start importing all your posts to new WordPress CMS, just wait to complete the process.
  • Next step is to setup a permalink structure for your newly wordpress blog, just Go to Settings > Permalinks > and select the one.

Must Read: How to select the best web hosting company

Setting Up Redirection to WordPress Blog:

The next important step is to setting up redirection from your old blogger blog to new self hosted wordpress blog. So that users are redirected to your new blog without any interruption, and will see exactly the same page. It is also important that the search engines will also notified about this redirection so your blog might not face any loss of organic traffic.

Let’s first setup redirection on blogger blog. For this follow the steps.

  • Log in blogger account > Go to desired blog > Go to Settings Page>Template
  • Scroll down to the bottom of the page and click on Revert to Classic Template link.
  • You will see the Edit Template HTML’ text area.
  • Replace all code with the code given below.( remember to replace with your domain)
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ""><$BlogPageTitle$>

<$BlogTitle$> <$BlogItemTitle$>

save your template, and now you have successfully redirected your blogger blog to new wordpress blog.

Now it is time to ready your wordpress blog to accept the redirection from old blogger blog for this simply

  • Go to WordPress dashboard > Appearance > Editor > and open functions.php file for editing (most of the wordpress themes have this file if not you can create this and upload to your theme folder using ftp)
  • Copy and Paste all the code snippet at the beginning of your function.php theme and click save.
if ( isset ( $blogger ) ) {
wp_redirect( labnol_get_wordpress_url ( $blogger ) , 301 );

add_action( 'template_redirect', 'labnol_blogger_template_redirect' );

function labnol_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()) {
$url = get_permalink();
return $url ? $url : home_url();


We are almost done open any page and now it should redirect old blogger page to new wordpress site.

Switching RSS Feeds from Blogger to WordPress:

On the blogger site your visitors will not able to see the changes you made in, for this follow steps:

  • log in blogger >Go to Settings > other >and choose Post Feed Redirect URL under Site Feed. 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.If you are using Feed Burner just replace the source from Blogger RSS feed to your new WordPress feed.

Read Also: How to make your RSS feeds helpful for your SEO strategy.

You have done all now you have successfully migrate your blog from blogger to wordpress. So whenever a visitor try to search your blog it will automatically redirect to new domain.

We have redirect all blog posts, feeds,comments and every thing to new wordpress blog but not the images, we also need not to move them to new setup and they are hosted safely on blogger, if you want to move then there is wordpress plugin to move your images from blogger to wordpress.

If you need any assistance and have any query regarding the article, feel free to contact.

1 Comment

  1. perpetua (from nigeria) says:


Leave a Reply