Switch from Blogger to WordPress

Switch from Blogger to WordPress

When you start out blogging, there are lots of free options to choose from, including WordPress.com and Blogger. But you will probably come to realise that one of the best things that you can do if you want full control over all aspects of you blog is moving onto a self-hosted WordPress.org site.

To help you move your blog from Blogger to your own self-hosted option, we’ve created this helpful step-by-step guide:

  1. Find a good host.

To start with, you’ll need a good host for your WordPress site. There are a lot of options out there, so talk to others in your industry to find out the best deals and offers around. Remember, cheapest is not always best, particularly if you require no downtime or have high traffic. You’ll want to set up your domain name and install WordPress on your hosting account to get started.

  1. Export your Blogger Blog

You’ll need to export the content from your Blogger blog. You can do this by logging into the dashboard of your Blogger site and going to Settings > Other. There in blog tools, click the ‘Export Blog’ link. This will cause a popup to appear. Click the ‘Download Blog’ button. This will put all the content into an XML file on your computer.

  1. Import Blogger to WordPress

Go into your WordPress admin dashboard and go to Tools > Import. The Import page will list a variety of sites that you can import content from. Click ‘Blogger’. This will open a popup for the installation of the Blogger to WordPress importer. You’ll need to install this plugin. Once this has downloaded, click ‘Activate Plugin and Run Importer’.

You’ll be prompted to upload the XML file which you downloaded earlier. Click ‘Upload’ once you have located it. If the file is too large, you may have to increase the maximum file upload limit. The Blogger posts will be imported one by one.

Once this has finished, you will be asked to assign an author. You can either set up a new one or assign to an existing author.

  1. Setting Up Permalinks

Permalinks are the URL structures of the pages. You can set your URLs for WordPress to be similar to your original Blogger URLs. Go to Settings > Permalinks and select Month and Name for the structure of permalinks.

  1. Set Up Redirections

Redirections need to be set up so that people looking for your old site will be sent to the new one.

If you want to redirect visitors, you’ll need to point them in the direction of both your site and then the specific post.

Go to your Blogger admin page. Go into settings and click ‘Template’. Scroll down to ‘Revert to Classic Template’ and click. Once you have switched to the classic template, you’ll see ‘Edit Template HTML’. Replace the code with the following and save:



<link rel=”canonical” href=”http://example.com/” />

<link rel=”canonical” href=”http://example.com/?blogger=<$BlogItemPermalinkURL$>” />

<h1><a href=”http://example.com/”><$BlogTitle$></a></h1>
<h1><a href=”http://example.com/?blogger=<$BlogItemPermalinkURL$>”><$BlogItemTitle$></a></h1>

Don’t forget to replace www.example.com with your own new domain.

To point users in the direction of the correct blog posts, you’ll need to add the following code to the functions.php file, or alternatively to a site-specific plugin.

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

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

(credit wp beginner)

This sets up the 301 redirect which you’ll want to use to keep your SEO strong and will send people from your old site to the new.

  1. Redirect All Feeds

If you have RSS subscribers on your old site, they won’t recognise the switch so you’ll have to redirect the feeds.

Log in to your Blogger account, and go to Settings > Other. There in the Site Feed section, you can click Add Link next to Post Feed Redirect URL. Add your new WordPress site feed here. This will probably be www.yourdomainname.com/feed/. Obviously put your own domain name in!

  1. Import Images from Blogger to your WordPress Media Library.

In the transfer of content, most of your images will be automatically downloaded into the library although some may fail. If this happens, don’t worry, you can upload them using a plugin called Import External Images. This will do it for you by 50 images at a time. Once they have been uploaded, you can use them in image galleries.

Hopefully, you’ll followed these instructions and now have successfully imported your Blogger blog onto the WordPress platform without losing the rankings that you have worked hard to build up. Welcome to WordPress!

If you’re not used to the WordPress dashboard, don’t worry. It’s easy to get the hang of and there are plenty of tutorials and guides to help you with anything that you may want to do. The WordPress platform is the world’s most popular for a reason – the functionality and stylish design notwithstanding!