X

The 2018’s Guide to Moving a Blog From Blogger to WordPress (Resolved)

blogger to wordpress

Looking to migrate from Blogger to WordPress? Blogger is a good entry point for beginners to get started with blogging. Since Blogger.com is a free platform, many users choose it as their blogging platform when starting out. But it’s definitely not where you want to stay if you’re truly serious about blogging.

Now that you’ve realized the shortcomings of the Blogger platform, it’s understandable you’d want to switch over to a reliable platform such as self-hosted WordPress, also known as WordPress.org

Unlike Blogger, WordPress.org is a fully-featured content management system. WordPress gives you full control over your blog, lets you easily customize the look and feel of it, and add more features with plugins.

Read our detailed comparison between Blogger and WordPress for more information.

In this article, we’ll walk you through how to move your blog from Blogger to WordPress, step by step.

Here’s a list of the steps we’ll cover through this guide:

  1. Sign up for a web hosting account
  2. Install WordPress
  3. Export your Blogger blog
  4. Import Blogger to WordPress
  5. Set up permalinks on WordPress
  6. Set up Blogger to WordPress redirection
  7. Move other content to WordPress

Understand the Goals: Blogger to WordPress Migration

Before we begin, it’s worth taking a moment to examine the goals we need to accomplish with your Blogger to WordPress migration.

Preserve Search Rankings and Traffic:

Of course, nobody wants to move a blog if search rankings and traffic can’t be preserved after migration. In our tutorial, we’ll ensure that all your Blogger URLs are properly redirected to the right WordPress permalinks.

Set Up Proper Mobile Redirection:

If you browse your Blogger.com blog on mobile, then you’ll see that Blogger automatically appends ?m=1 to your blog URL.

For example, this is what your URL looks like if you access your site from a mobile device:

http://example.blogspot.com/test-article.html?m=1

You shouldn’t leave your mobile users behind, so the goal is to make sure all mobile visits are also redirected to your WordPress site.

Move Feed Subscribers Properly

We’ll also explain how to move your feed subscribers properly.

1. Sign Up for a Web Hosting Account

To run any website on the internet, you need to have a domain name and web hosting.

A domain name is the web address of your site such as IsItWP.com or Google.com. And web hosting is where your site is hosted and your site files are stored.

Blogger.com is a free hosted platform, meaning your blog is hosted on Blogger’s hosting server for free. However, when you move to WordPress, you’ll have to rent web hosting space to host your blog.

Now you might be wondering, “how much does it cost to purchase a domain name and web hosting?”

A domain name normally costs around $14.99 per year and web hosting costs $7.99 per month. When you’re starting out with WordPress, the combined cost of domain and web hosting can seem like quite a lot.

create a blog on bluehost

That’s why we’ve worked out a deal with Bluehost to offer our users a free domain name, free SSL, and 65% off on WordPress hosting.

With our Bluehost deal, you can start your blog for as low as $2.75 per month.

Click Here to Claim This Exclusive Bluehost Offer »

Bluehost is one of the largest hosting companies in the world. They are also an officially recommended hosting provider by WordPress.org.

2. Install WordPress

After signing up with Bluehost, the next step is to install WordPress.

Upon choosing a hosting plan subscription, you’ll be prompted to choose a WordPress theme. You can pick just about anything during this step because you can always change your theme later (we’ll show you how to do this in a later step of this tutorial). The most important part is to start building your blog so go ahead and choose any theme for now just to get you rolling.

pick a theme

You’ll be then asked to choose the name and tagline for your blog.

create a new wordpress blog

After specifying the details, click Next. Bluehost will now automatically install WordPress for you. Once it’s done, it’ll show you a screen like this:

wordpress installation successful

You can log into your site by appending wp-admin to your URL. Here’s what your WordPress login URL should look like:

http://example.com/wp-admin

You can now log into your WordPress blog with the credentials sent to your email address.

wordpress login

3. Export Your Blogger Blog

To export your blog from Blogger, log into your Blogger.com profile and navigate to Settings » Other. In the Import & back up section, click the Back up content button.

export-blogger-blog

This will trigger a modal popup in which you’ll be asked to make a backup of your blog. Click the Save to your computer button.

save blogger export file

4. Import Blogger to WordPress

After downloading the export file from Blogger, the next step is to import the file into your new WordPress site.

Log into your WordPress dashboard, go to Tools » Import. Just below the Blogger option, click Install Now. Then, click Run Importer.

install-blogger-importer

Next, choose the file you’ve just downloaded from Blogger. Then import it into your WordPress site.

import blogger files into wordpress

After importing the files, you’ll be asked whether you need to create new users on your site or assign the posts to your existing users.

import blogger assign authors

A permalink, or permanent link, is the full URL to your individual pages of your WordPress site.

When migrating your blog from Blogger to WordPress, it’s essential to keep your permalink structure identical for proper redirection.

WordPress allows you to choose your preferred permalink structure for your blog. To choose your permalinks’ structure, go to Settings » Permalinks. In the Custom Structure field, specify your structure as follows:

permalinks structure

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

The above configuration makes your permalinks look similar to that of Blogger.com. But for proper redirection, we need to make our permalinks identical.

For example, here’s what your post URL looked like on Blogger:

http://example.blogspot.com/2018/06/the-unconventional-guide-to-home-tech.html

If you don’t make the permalinks identical, here’s what the same post URL will look like after moving to WordPress.

http://example.com/2018/06/the-unconventional-guide-to-home-tech-gadgets-for-beginners.html

To make your Blogger post URL identical in WordPress, all you have to do is open a simple text editor application such as Notepad or TextEdit. Copy the below code into your text editor and save it as a PHP file. Give a name to your file like fix.php. Then upload the file to your WordPress folder, which also known as the root directory.

<?php
require_once('wp-load.php');
$res = $wpdb->get_results("SELECT post_id, meta_value FROM $wpdb->postmeta WHERE meta_key = 'blogger_permalink'");
$wpdb->print_error();
foreach ($res 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");
$wpdb->print_error();
}
echo "DONE";
?>

If you’ve uploaded the file in the right directory, then you can execute the script by opening its URL from the browser: http://example.com/fix.php

When executing the script, the only output you can see is Done.

6. Set Up Blogger to WordPress Redirection

Now that you’ve set up permalinks for your WordPress blog, let’s redirect your blogger posts to WordPress. For redirecting your Blogger blog to WordPress, we’ll be using a free plugin, Blogger to WordPress Redirection.

Install and activate the plugin on your newly-installed WordPress site. Then go to Tools » Blogger to WordPress Redirection.

You’ll be directed to the plugin configuration page. Click the Start Configuration button to generate the code for Blogger.com.

blogger to wordpress redirection

You can now find a list of blogs from where you’ve imported content. Click Get Code next to the correct blog and copy the code.

blogger to wordpress get code

Now go back to your Blogger.com profile and click the Edit HTML button.

edit html blogger

Paste the copied code and click Save Theme.

By default, Blogger.com redirects your mobile visitors to the mobile-friendly version of your blog by appending ?m=1 to the URL. For proper mobile redirection, we need to disable this feature.

To disable the feature, click the Back button in your Edit HTML page. You can now find a gear button below the mobile preview of your Blogger theme.

blogger mobile redirection

This will show you a modal popup where you’ll be asked whether you want to show a mobile version of your theme. Select No and click Save.

choose mobile theme

7. Move Other Content to WordPress

After moving your blog posts, you can go ahead and move your pages and other content to WordPress.

Pages:

Go to your WordPress dashboard and create a new page. Copy the HTML code of your Blogger page, and paste it into the newly created page on WordPress.

On Blogger, the URL of your page looked like this: example.com/p/page.html

On WordPress, here’s how the same page will look after migration: example.com/page

To redirect your pages properly, you can use the Redirection plugin in WordPress.

Widgets:

If you want to retain your Blogger.com widgets in WordPress, then you’ll need to copy the HTML code and paste it into the sidebar widgets of your WordPress site by navigating to Appearance » Widgets.

Feeds:

To redirect your feeds, navigate to Settings » Other in your Blogger.com profile. Click on the Add option next to Post Feed Redirect URL. Then specify your WordPress feed as follows: http://example.com/feed

post feed redirect url

What’s Next After Migration?

Below are a few essential things you need to do immediately on your WordPress blog after migration:

Here’s a list of popular WordPress plugins that you may find useful.

That’s it!

We hope this guide helped you move your blog from Blogger to WordPress. If you enjoyed this article, then check out our guide on must have WordPress plugins for business websites.

Comments  Leave a Reply

  1. I exported the xml file from my blogger blog but while importing the file into wordpress I am getting the below error. I even tried different import plugin like “blogger importer extended” but that is not working as well.

    I am using PHP 7.1.4
    My wordpress is also updated
    My blogger file size is 13.6 MB
    I have my Maximum upload size set to 2 GB

    I am not sure what is wrong.

    “Warning: Invalid argument supplied for foreach() in D:\xampp\htdocs\projects\vapeupdeals\wp-content\plugins\blogger-importer\blogger-importer.php on line 227”

    1. That appears to be a current issue with the importer, you would want to try reaching out to the plugin’s support at:
      https://wordpress.org/support/plugin/blogger-importer#new-post

      or you could try splitting your file using a file splitter tool like: http://rangerpretzel.com/content/view/20/1/

  2. Kirsi-Maria Hiltunen October 5, 2018 at 2:43 pm

    Hi again,
    I just posted about the blogger to wordpress redirection. I tested again and seems that those blog posts, which I transferred through Import Blogger tool are working fine. But the newest blog posts, which I first wrote in Blogger and than manually copied to WordPress do not redirect. Instead the main page of the Worpress site opens up. So is there a way I can make the links from the few pages to work? Or should I just go change the addresses in the places I have shared those posts?

    Best regards,
    Kirsi-Maria Hiltunen

    1. Hey Kirsi,
      Thanks for stopping by.

      But the newest blog posts, which I first wrote in Blogger and then manually copied to WordPress do not redirect.

      I am a bit confused about your above statement.
      i) Did you mean you write new articles on Blogger.com even after the migration and then tried to copy it to WordPress?
      After the migration, you can write the articles on WordPress. No need to write it on Blogger

      ii) Or did you mean the pages (such as example.blogspot.com/p/page.html) aren’t redirecting?
      As mentioned in the post, you’ll need to use the Redirection plugin to redirect these pages to WordPress.

      I hope this answered your question.

  3. Kirsi-Maria Hiltunen October 5, 2018 at 1:31 pm

    Hi. I have done the steps to redirect Blogger links to my new Worpress site using this Blogger to WordPress Redirection. But for soe reason, it does not work. All the links containing blogger go to the main page of the new WordPress site, and not to the same article as should. What might be the reason? Would appreciate help and assistance!

    Best regards,
    Kirsi-Maria Hiltunen
    koikkelastakajahtaa.blogspot.com -> koikkelastakajahtaa.fi)

    1. I am having the same problem. I would love some help fixing the problem as well.
      Craig Conover
      myspiritualarchive.blogspot.com -> reading.spiritualcrusade.com

      1. In another / latest comment, Kirsi has mentioned that the redirection is working fine for her.

  4. Hey when I import the content, half my images get imported to the wp-content media library whereas the remaining half stay on blogger as 2.bp.blogpost/….jpg

    How do I address this problem?

    1. Hey Sam,
      Thanks for stopping by! Cache Images plugin can help you solve this issue: https://wordpress.org/plugins/cache-images/

      The plugin scans for hotlinked images (images that you display on your website but are hosted on other servers) and lets you import them to your server in a single click.

      Since Blogger.com images are hosted on Blogger/Picasa, this plugin comes in handy to import them quickly and easily.

      Note: The plugin was last updated 7 years ago, but it still works fine. In fact, it’s developed by Matt Mullenweg, the co-founder of WordPress.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!