How to Migrate From Blogger to WordPress – 6 Easy Steps

Are you looking to migrate from blogger to WordPress site without losing your existing traffic?

Then you are in the right place.

It is easy to migrate from blogger to WordPress platform if you do the basics in the right way.

In this post, I will explain step by step on how to move your blogger site to WordPress platform without any drop in traffic.

Why do you need to migrate from Blogger to WordPress?

There are many drawbacks in using a blogger platform to host your site.

You do not own your Blogger blog

Yes you heard it right. You do not own your Blogger blog. Your blog can be taken down anytime by Google if you break their policies.

All your hard work may vanish in a few seconds if you make a single mistake.

You cannot build your brand on Blogger

All established and successful bloggers use WordPress. It is easy to customize the site with the help of plugins.

With the help of page builders like Elementor, Beaver Builder you can create stunning websites which are both optimized for SEO and Speed.

How to Migrate From Blogger to WordPress Easily without Traffic Loss?

How to Migrate From Blogger to WordPress
How to Migrate From Blogger to WordPress

Let us move to the main topic of this post which is to migrate from Blogger to WordPress without hurting your ranking and traffic.

Learn the steps involved in detail.

Purchase Good Web Hosting

Purchasing a good web hosting is the first step to get your website ready.

There are many web hosting providers available in the market. I would recommend you buy hosting from GreenGeeks or FastComet which are both beginner friendly and provide high speed hosting.

Both GreenGeeks and FastComet offer free domain transfer. So, you can transfer your existing domain to them for free.

Currently, both of them offer good discounts and you can start with them for just $2.95/month.

Fill up the details and sign up for an account. After purchasing the hosting, login to your hosting account and install WordPress on your site.

You will be prompted to enter the admin username and password. Remember these credentials and copy paste this information on a notepad or word file. You will need that to login to the admin panel of your website.

Do not forget to update the Name servers of your web hosting with your domain name registrar.

Export your Blogger Blog

To continue with the migration, you would need to login to your blogger account and export the blogger blog.

overview stats

Follow the steps below to continue further:

  • Login to your Blogger Account.
  • Navigate to Settings and click on the “Other” section.
  • On the right side, you will see Import and Backup. Choose Backup content and click on it.
  • You will get an option to save the content on your computer. Click on that option and save the file on your computer.

Login to WordPress and Import the Blogger Content

Now, login to your WordPress site using the credentials created earlier.

By default, the login URL will be site.com/wp-admin.

Replace site with your domain name.

After logging in to the dashboard of your site, delete the default post, page and comment.

Once it is done, it is time to import the blogger content to WordPress.

import blogger

Follow the steps below:

  • From the WordPress dashboard, navigate to the section called Tools.
  • Click on Import.
  • Click on Install Now under the Blogger tab.
  • Once it is installed, click on Run Installer.
  • You will get the option to upload the blogger content.
  • Click on Choose the file and select the blogger file that was saved on your computer.
  • Click on Upload file and Import.
  • Next it will ask to update the author name for the posts.
  • Update the name and click on submit.

WordPress will import all the posts from your Blogger site. You can verify the same by clicking on the posts tab in the dashboard.

There is one drawback with this plugin. You will not be able to import the pages. So, you need to import them manually.

Updating permalinks in WordPress is another important step when you migrate from blogger to WordPress.

With WordPress, you will have the option to update your permalinks. However, as you are migrating from blogger to WordPress, it is advisable to keep the same URL structure like blogger.

Follow the steps below to update the permalinks:

  • From the dashboard of your WordPress site, click on Settings.
  • Click on Permalink.
  • Choose custom permalink and enter the code /%year%/%monthnum%/%postname%.html and save it.

Redirect Blogger to WordPress

This is the important step in migrating your blogger site to WordPress. This will ensure that you will not lose your ranking and traffic.

themes

Follow the steps below:

  • Login to your Blogger account.
  • Scroll down to the Themes section and click on the “Revert to Classical themes” option.
  • Once you confirm the change, you will see new settings.
  • Scroll down and click on “Edit Theme HTML”.
  • Copy the entire code and delete it.
  • Copy and paste the following code in it.
<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>

Replace example.com with your domain name and save the template.

Now, you need to set up redirection on the WordPress site so that users are directed to the right posts.

Follow the steps below:

  • From the dashboard of the WordPress site, click on Appearance.
  • Then click on Editor.
  • On the right side menu, click on the Theme Function.
  • Edit the file and copy paste the following code in it.


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

Click on the Update file to save the changes.

Important note: If you change your WordPress theme, you would need to repeat this step and copy the code to a Theme Functions file of your new WordPress theme.

Updating other Settings

Moving Blogger Widgets to WordPress

There is no option to move the blogger widgets to your WordPress. However, you can add widgets to your WordPress easily.

Follow these steps:

  • From the dashboard of your WordPress site, click on Appearance.
  • Click on Widgets.
  • Drag and drop the required widgets that you need to display on your site.

Update RSS Feeds

If you have RSS subscribers, they will not be able to receive the updates after migration. You need to set up RSS redirection so that they can receive the updates from your WordPress site.

updating rss feeds

Follow the steps below:

  • Login to your Blogger account.
  • Navigate to the settings section and click on the other tab.
  • Find “Site Feed” section
  • Next to the “Post Feed Redirect URL”, click the “Add” link
  • Type in https://example.com/feed/ and do not forget to change the domain name of your site.
  • Click on save changes.

Frequently Asked Questions about Moving from Blogger to WordPress

Following are some of the frequently asked questions about transferring the blogger blog to WordPress:

Can I delete my blogger blog after moving to WordPress?

No, you should not delete your blogger blog. Redirections will not work and you will lose traffic.

I changed my theme and now the redirection does not work. What to do?

Whenever you change the theme, you need to update the code to the theme functions.

How to transfer the domain from blogger to WordPress?

You just need to update the nameservers from your hosting account to the domain name registrar.

Can I change the permalink URL structure?

If you wish, you can change the permalink like example.com/post. You need to set up redirection in your .htaccess file.

You need to update the following code to the top of the .htaccess file.

RewriteEngine on
RedirectMatch 301 /([0-9]+)/([0-9]+)/(.*)\.html$ /$3/
# BEGIN WordPress
&amp;lt;IfModule mod_rewrite.c&amp;gt;
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
&amp;lt;/IfModule&amp;gt;
# END WordPress

To get the best out of SEO and to keep traffic to your new site, it is recommended to keep the same permalink structure as Blogger.

Will the migration affect the ranking of your WordPress site?

Migration will not affect your ranking. You can migrate from blogger to WordPress without hurting your ranking and traffic.

Final Words

That’s all about how to migrate from blogger to WordPress site without traffic drop.

This migration will not affect your Google ranking.

If you have questions or face any difficulty in moving your blogger blog to WordPress, let me know in the comments.

If this post was helpful to you, share it with your friends.

Leave a Comment