Thinking of making the move from Blogger to self-hosted WordPress? I don’t blame you. With over 25% of the web now being powered by WordPress, it’s clear that the blogging battle is over. WordPress is the winner.

But don’t worry, even if you’re currently using Blogger, it’s easy to transfer things over to a new self-hosted WordPress site. There’s a lot more to migration than just content, though. You’ll also want to keep your Google rankings and links the same. If you follow our guide, you can do just that. You won’t have any broken links and Google will never notice that anything changed.

How To Move From Blogger To WordPress: Complete Beginners Guide

In this post, I’ll go through and give you the exact step-by-step guide you’ll need to move your current Blogger site over to a brand new self-hosted WordPress install, without losing any of your Google rankings.

Here’s a quick summary of what you’ll need to do:

  • Export your Blogger blog
  • Import it to WordPress
  • Set up redirects/make your link structure the same
  • Import any missing photos

Now let’s go through how to do everything in detail:

Pick a Host Before Getting Started…

If you’re moving to self-hosted WordPress, you’re going to need a good host. Blogger won’t be there to host things anymore.

We’ve put together a full list of the best WordPress hosts, but our overall recommendation for a new WordPress user is Bluehost. They offer affordable WordPress packages that make it easy to get started and configure everything. They’re also an official WordPress.org recommended host and get overall great reviews from their customers.

Once you pick a host, you’ll need to install WordPress before getting started. Many hosts, Bluehost included, let you do this with just one click. If you do sign up with Bluehost, you’ll just need to click on this button in your hosting dashboard:

Install WordPress

Many other WordPress hosting providers operate similarly. Just find the specific installation instructions for your host.

Once you’ve got WordPress installed, you can continue on to the specific steps to transfer your Blogger site over.

Step 1: Export Your Blogger Blog

To export your Blogger Blog, you need to log in to Blogger and then go to Settings –> Other:

transfer-blogger-to-wordpress-export-1

In the settings page, click the Back up Content button. Clicking it will export all your blogger posts in XML format. After you click the button, you’ll be prompted with this box to save the file:

transfer-blogger-to-wordpress-export-2

Click Save to your computer to save the .xml file. In the next step, you’ll need to upload this same file to WordPress to import all your Blogger posts, so make sure to remember where you saved it.

Step 2: Import Your Blogger .xml File to WordPress

WordPress has a dedicated Blogger import plugin that makes importing the .xml file and all your Blogger content super easy.

Inside your WordPress admin dashboard, navigate to Tools –> Import:

transfer-blogger-to-wordpress-1

On the next page, you just need to select the Blogger option:

transfer-blogger-to-wordpress-2

After selecting the Blogger option, you’ll be asked to install the official wordpress.org Blogger Importer plugin. Click the Install Now button to do that. It should automatically install in just a few seconds:

transfer-blogger-to-wordpress-3

WordPress will automatically install the plugin. After that’s done, click on Activate Plugin & Run Importer:

transfer-blogger-to-wordpress-4

In this step, you’ll actually use the .xml file you exported from your Blogger site. Click Choose File and then navigate to the .xml file of your blogger site. Select the file and then click Upload file and import to import all your Blogger posts into WordPress. All the post and page data from your Blogger site will get automatically imported:

transfer-blogger-to-wordpress-5

WordPress will let you assign an author to all the posts you’re importing. If you’re the only author, just select yourself. If you want to give the posts a different author name, you can select a different account. You can always create a new author account for all the imported posts if you want.

Once you’ve selected the author that you want, just click Submit:

transfer-blogger-to-wordpress-6

WordPress will then give you a confirmation that all your posts are imported:

transfer-blogger-to-wordpress-7

Now all your posts from Blogger should be active on your WordPress site. But…you’re not quite done. You still need to fix your URLs so that everything works smoothly and you retain all your Google rankings. So let’s do that now…

Step 3: Choose Your Permalink Structure

WordPress makes it easy to choose how your permalinks look. Permalinks are essentially the unique URL for each post or page. They’re very important.

It’s a good idea to try to mimic the same structure you used in Blogger. To set your WordPress permalinks,  go to Settings –> Permalinks:

transfer-blogger-to-wordpress-9

To try to mimic how Blogger structures URLs, select the Month and name option. It’s essential that you pick this option so that the redirect code you add in the next few steps will properly work. If you want a different URL structure, you’ll have to find slightly different code to match.

Step 4: Create Redirects from Blogger to WordPress

So now you’ve imported your posts and set yourWordPress permalinks, but you still need to redirect anyone who goes to one of your Blogger URLs to the right post on your new WordPress site. You want people and search engines to be able to easily access the same posts so you don’t lose any of your traffic.

To do that, you’ll need to add some code to both your Blogger site and your WordPress site. Let’s start with your Blogger site.

Go to your Blogger blog’s settings and click Template:

transfer-blogger-to-wordpress-redirect-1

Then scroll down to the bottom where you’ll see a section about reverting to the classic Blogger template:

transfer-blogger-to-wordpress-redirect-2

Select the Revert to classic template so you’ll be able to easily add some redirect code.

After reverting to the classic template, you should see a box called Edit Template HTML that allows you to paste code:

transfer-blogger-to-wordpress-redirect-3

In this box, delete all the existing code and replace it with this code:


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

After you’ve added the code, click save. Your Blogger site will now redirect to WordPress, but you need to do one more thing to get redirects fully functioning. You still need to set up some redirection on WordPress to be able to properly handle the Blogger redirects.

Step 5: Create Redirect on WordPress

Now you need to also add some code to your WordPress site’s functions.php file. To find the file, go to Appearance –> Editor and find functions.php in the list of theme files:

transfer-blogger-to-wordpress-redirect-4

In your functions.php, paste the following code:


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 code will set up a 301 redirect, which is the most SEO friendly type of redirect. It will ensure that Google knows your posts have permanently moved and they should give the same weight to the new post as the old post had.

Both humans and search engines will now be permanently redirected to the new URL structure on your WordPess site.

Step 6: Redirect RSS Feed

Any people or websites using your old Blogger RSS feed won’t be able to get your new posts after the switch until you set up another redirection. To redirect your RSS feed, you’ll need to jump back into your Blogger admin dashboard. Go to Settings –> Other and add a Post Feed Redirect URL:

transfer-blogger-to-wordpress-8

In the box, enter the URL for your new WordPress site’s feed. This is usually something like yourdomain.com/feed.

Now, anyone who has your old Blogger RSS feed will be redirected to the new, correct RSS feed.

Wrapping it Up

Once you’ve set up all the redirects, you should be done with transferring your Blogger blog to WordPress. Importing your posts should automatically include all the images, but if any got missed in the process, you can manually import them into your media library to ensure posts look the same. Make sure to double check everything.

I hope you enjoyed our guide to moving from Blogger to WordPress. It’s not difficult, and I’m sure you’ll enjoy the much-improved functionality of WordPress.

Just remember, you’ll need to pick a new theme for your site as a result of the switch. Why not check out our themes? We currently offer our complete collection of themes from just $49.

Other than that shift in appearance, all the basic functionality should be the same. You’ll have all your old posts and the URLs and RSS feeds will be redirected.

I hope you enjoy your new WordPress site!

1 Star2 Stars3 Stars4 Stars5 Stars
10 votes, average: 5.00 out of 5
Disclosure: Some of the links in this post may be "affiliate links." This means if you click on the link and purchase an item, We will receive an affiliate commission