Contact Us!Subscribe to Blog and RetireFollow Blogandretire on TwitterBlog and Retire on Facebook

5 Steps to Blogger to WordPress Import, Migration, and Redirect

Back when I redirected my own blog from blogspot to my own domain with WordPress, I said I would outline the steps it takes to redirect a blogspot blog to your own self-hosted WordPress blog. Well, it’s taken me a few months, but I am finally living up to my promise.

This step-by-step guide will not only redirect your blogger posts seamlessly to your wordpress posts, but also it will keep all SEO credit you’ve created, like backlinks. So all SEO will also be transferred to your new wordpress blog.

1. Get WordPress

You can get WordPress by one of two ways. You can register your own domain and get your own hosting. This will cost about $10 a month for hosting, plus about $10 per year for reregistering your domain name. Obviously costs can vary. I suggest registering your domain with 1and1.com and getting hosting with HostGator. I do all my domain registering and hosting with those two sites. I have not had any problems with either of them whatsoever.

You should know that it can take up to 4 days to register your domain, then switch nameservers of that domain over to your hosting. Once that process is complete, you can go to your hosting control panel and go to Fantastico and upload WordPress very easily.

The easy way to get WordPress (the kind that you can customize as you wish and even place ads on) is to go to BlogZam.com. BlogZam is a free WordPress blogging platform where you can monetize your blog as you wish. However, it is like blogspot, in that your BlogZam subdomain will be yourblog.blogzam.com (just like with blogspot it would be yourblog.blogspot.com). The choice is up to you. BlogZam is easy though, because then all you have to do is sign up and choose your BlogZam subdomain name. Then BlogZam creates your subdomain and installs WordPress for you, for free. You’ll also get links on how to start using WordPress and getting familiar with it.

So if you don’t want to pay for a domain or hosting, BlogZam is the way to go for WordPress.

*Note: Never delete your blogspot blog!

2. Configure WordPress Permalinks to Match Blogger’s

In order for your blogspot posts to redirect, you have to have the same permalink structure. Go to one of your blogspot posts and see what the url extension looks like. There are many options, but a common one is:

http://yourblog.blogspot.com/year/month/blog-post-title.html

Back to your WordPress dashboard, hover over Settings and click Permalinks. Choose custom. If your blogger permalink (url extension) looks like the one above, type in:

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

Click Save Changes.

This is definitely the best permalink to have because it tells the date range the post is written, and it has keywords from your title in the url extension which is good for search engine rankings.

*Note: Never delete your blogspot blog!

3. Import Blogger Posts

Once you have a WordPress blog, you need to import your blogger posts to your new WordPress blog. To do this, login to your admin area, click on Plugins, and click Add New.

You need to install the Blogger Importer plugin. In order to do that, you can just type in Blogger Importer from your Install Plugins page and click search. Blogger Importer will pop up and then click Install Now.

Once Blogger Importer is installed, you need to click Activate.

Once activated, from your WordPress dashboard, hover over Tools on the left sidebar and choose Import. Then click on Blogger. Make sure you are logged into your blogger account, then click Authorize. WordPress will then detect any blogspot blogs you have and they will pop up on the screen. Choose the correct blog and click on Import. Wait until is shows that all posts have been imported. If it started off saying 0/123, then wait until it says 123/123. That is how you will know it is done importing.

If you need to add or change authors, you can do so by clicking “Set Authors”. But if your author name is going to remain the same, then you can just click on “Posts” and you will see all your blog posts have been imported from blogger.

*Note: Never delete your blogspot blog!

4. Additional Fix for Permalinks

If you are redirecting a blogspot blog to a blogzam blog, contact BlogZam support.

Before you do this step, go ahead and create a backup of your entire WordPress site files.

WordPress builds permalinks differently than Blogger, so you need to add this extra fix so that your blogspot posts match exactly to your imported wordpress posts, otherwise, it won’t redirect properly (or at all for that matter).

In order to do this, you need access to your hosting account and hosting control panel (or cpanel).

You need to create a new file, added to the folder where you uploaded WordPress.

Name the file fix.php

Here is the code you need to place in the fix.php file:

<?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”;
?>

Copy that code and paste it into a text editor like Notepad, then recopy it from notepad (mainly for the quotation marks to be in the right format) and paste it into your fix.php file, and save the file.

Next, go to your WordPress blog with the /fix.php extenstion (your blog.com/fix.php) and it should say “DONE”.

*Note: Never delete your blogspot blog!

5. Redirect Blogspot Blog Posts to WordPress Blog Posts

Now go back to your Plugins page through your WordPress dashboard and click Add New. Type “Blogger to WordPress Redirection” and click search. Install that plugin and activate it.

Then hover over Tools and click Blogger to WordPress Redirection. Make sure you are logged into your blogger account where you imported your blog from. Click on “Start Configuration”. Click “Get Code”. Copy that code.

Before you do anything else, go to your blogspot blog’s template. Click on Upgrade template. Scroll to the bottom and click “Revert to Classic Templates” then click “revert to classic template”. Copy the entire code and paste it into a text editor like Notepad so you have it in case anything goes wrong. Save this file in case you ever want to revert your old blogspot blog back again (don’t know why you would want to do that, but just in case).

Next paste the code from the Blogger to WordPress Redirection into your blogspot blog’s classic template and click Save. Next click on “View Blog” And your blogspot blog should redirect to your new wordpress blog.

*Note: Never delete your blogspot blog!

Other Steps to Consider

1. You have to manually create your blogspot’s pages over at your wordpress blog. Luckily you don’t have too many of those since blogspot limits the amount of pages you can create.

2. Labels from blogspot become what wordpress calls categories. If you would like those to be changed, you would have to do that manually post by post, but I wouldn’t worry about changing it.

3. WordPress has categories and tags. From now on when you write posts on your new WordPress blog, I would choose one or two main categories for your post to fit under, and type out as many relevant tags (keywords/phrases) as you want (like you would with labels on blogspot).

4. If you have a feedburner rss url, then you will want to go change that as well. Go to your feedburner account and click on the feed title of the blog you just redirected. Click edit feed details. If you want, you can change the title, or keep the title the same. Where it says “original feed” type in your wordpress fee url which is http://yourdomain.com/feed. Then you can also change the feed url extention as well if you want. Then click Save Feed details.

Next you will want to install a feedburner plugin which will assist in redirecting your old feed to the new one. Install and activate FD Feedburner Plugin. Then hover over Settings and click “Feedburner”. Type in your new feedburner url that you just created and click Save.

That’s it. It seems like a lot of work, but it actually only takes maybe 15-20 minutes to do the actual redirect. Feel free to leave questions in the comments.

Did You Enjoy This Post?

No spam. Powered by MailChimp.

5 Responses to '5 Steps to Blogger to WordPress Import, Migration, and Redirect'

  1. danielle says:

    I’m trying to do this but I’m stuck on one step:#4-“You need to create a new file, added to the folder where you uploaded WordPress.” can you tell me exactly where I can access that file? i’m in cpanel> file manager…and I’m stuck.

    • Lisha says:

      Hi Danielle, sorry it took so long for me to respond, I’ve been very busy.. If you’re using hostgator, when you enter file manager, click on “public_html” to see all your folders. What you need to do is go to the file where you installed wordpress. So if wordpress is installed to your domain name, then you simply create a file called fix.php in the main folder of your domain. If wordpress is installed on a subdomain for example, blog.website.com or website.com/blog you need to go to that folder where you installed wordpress and create the fix.php file there. Then go into edit mode for that file and insert the code above in the post and save it.

  2. Katherin says:

    Author made a great job! Thank you!
    I’m not so much strong at all these programming codes and plugins, that’s why I have been looking for less complicated way of Blogger to WordPress migration. And I found the tool http://www.cms2cms.com/

    It’s said it moves content automatically including not only posts, but also pages, comments, images, internal links… But I’m not sure is it safe to move content in such way? Have you ever tried such migration?

    • Lisha says:

      I haven’t heard of that, and I’m too afraid to try it just in case it screws everything up. But do a search and see if you can find anyone who’s used it personally.

  3. Everything is very open with a really clear clarification of the challenges.
    It was definitely informative. Your site is useful.
    Thanks for sharing!

Leave a Reply

Your email address will not be published. Required fields are marked *

*


Member Login | Blog | Services | Advertise Here | Terms | Privacy Policy | Disclaimer | Disclosure | Contact