How to Move from blogger to wordpress with permanent 301 redirection

January 11, 2010 by: 12

Hi! In this tutorial we shall see about (2010 new)how to migrate from blogger beta blogspot blog to wordpress blog with custom hosting.Blogger is one of the most used blogging platform.Yet it has a lot of limitations.Also once your blog gets some popularity its always good to switch from blogger blog to wordpress.But that migration cant be done very easy since we have to do a permanent switch without losing any of our visitors,google pagerank,backlinks and comments.Since we have to take care of all these,its little tedious for switching from blogger to wordpress.But still we have made it very easy in our tutorial.

Courtesy: labnol.org(He was the one who first put forward this post)
FOR VIDEO TUTORIAL CLICK HERE

You could follow these tutorial to successfully move from blogspot to wordpress blog.But still if you have any problems doing so,Hire me(50$ total number of posts doesnt matter) and i will help you completely move your blog.But that doesnt mean i have posted a fake tutorial here (as many bloggers do to make you hire them for service)

This works 100% if done correctly.

After completing all the steps you will have

1.Successfully migrated to wordpress.

2.Permanent 301 redirection of your blogspot url to the new domain.

3.People visiting through individual post pages will be taken to the appropriate post without any 404 errors.

4.You will get the google pagerank of the old blog for the new domain in the next update.

5.You dont lose your feed readers and subscribers even in the new domain name.

What you should check before Blogger to wordpress migration:

1.you should purchase a custom domain.You can do it in godaddy or bluehost,dreamhost.(there are many options)

2.You should buy webhosting.(currently there is a promo  code for dreamhost Dreamhost promo jan 2010 51$ off+A free domain lifelong)

3.After you set your domain DNS to hosting account,Install wordpress in it.It is easy if you have cpanel and fantastico or simplescripts in it.

4.Now login to your wordpress admin and also login to your blogger account.

STEP BY STEP TUTORIAL TO CONVERT/MOVE YOUR BLOGGER BLOG TO WORDPRESS SELF HOSTING:

1.In your wordpress wp-admin dashboard select tools and select import option.In the list provided select blogger.

2.Now you will move to blogger to confirm the import,authorize wordpress access to your blogspot blog.Now all your blog posts and comments from blogger will be imported to wordpress.

3.upload this file(blogger.php.txt) in in your wordpress installation in wp-content/themes/default. DOWNLOAD.You may use filezilla or any ftp client or directly do it in cpanel filemanager.Now rename the file from blogger.php.txt to blogger.php

The file contains the following code

posts LEFT JOIN $wpdb->postmeta ".
"ON ($wpdb->posts.ID = $wpdb->postmeta.post_id) WHERE ".
"$wpdb->postmeta.meta_key='blogger_permalink' AND ".
"$wpdb->postmeta.meta_value='$permalink[1]'";

$new_url = $wpdb->get_var($q)? $wpdb->get_var($q) : "/";

header ("HTTP/1.1 301 Moved Permanently");
header("Location: $new_url");
}
?>

4.Go to your wordpress dashboard and select pages and click add a new page.The TITLE and URL of that page must be blogger.Now from the template option at the right side of that page select “Blogger” and click publish/save  of that page.You should not add/type any content in that page.

5.Now go to this blogger tool its a template generator. (thanks to Amit Agarwal) and type the new wordpress blog address and note that the address should be with http:// and then click submit query.Now you will get a classic template.save it in a notepad,you will need it in the next step.

It will be like below

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="<$BlogLanguageDirection$>">
<head>
<title><$BlogPageTitle$></title>
<script type="text/javascript">
 <MainOrArchivePage>window.location.href='http://sensehow.com/'</MainOrArchivePage>
 <Blogger><ItemPage>
   window.location.href='http://sensehow.com/blogger/?q=<$BlogItemPermalinkURL$>'
 </ItemPage></Blogger>
</script>

<MainPage><link rel="canonical" href="http://sensehow.com/" /></MainPage>
<Blogger><ItemPage>
 <link rel="canonical" href="http://sensehow.com/blogger/?q=<$BlogItemPermalinkURL$>" />
</ItemPage></Blogger>
</head><body>

<div style="border:#ccc 1px solid; background:#eee; padding:20px; margin:80px;">
<p>This page has moved to a new address.</p>

<h1>
<MainOrArchivePage><a href="http://sensehow.com"><$BlogTitle$></a></MainOrArchivePage>
<Blogger><ItemPage>
 <a href="http://sensehow.com/blogger/?q=<$BlogItemPermalinkURL$>"><$BlogItemTitle$></a>
</ItemPage></Blogger>
</h1>
</div>
</body></html>

<!-- replace sensehow.com with your WordPress site URL --->

6.Now go to the blogger dashboard and click layout option>Edit HTML>Now select “Revert to classic template” at the bottom of the page and save it.

7.Now copy the code that you got in the previous step and press ctrl+A and paste it in edit Html.Then save it.

Thats it! you have successfully converted from blogger to wordpress.Visit any link of your blogger blog and you will be taken automatically to the new url.Also since we use 301 for redirection we wont lose any visitors of our blog and also the google pagerank will be updated on the new blog after some days.

HOW TO REDIRECT FEEDS FROM BLOGGER TO WORDPRESS:

It is essential that you redirect the feed of your blogger to the wordpress domain.so for that in blogger dashboard>settings>site feed> and paste the new feedburner RSS address there.And you now you have successfully taken your feed from blogger to the new wordpress domain.

AFTER MIGRATING FROM BLOGGER TO WORDPRESS:

1.Dont delete your blogger blog since all your images are there.

2.Add your site to google webmaster tools.

3.Write some good content.

4.Update all the links pointing to old blog to new custom domain if possible.

I HOPE NOW THINKS ARE CLEAR AND YOU WILL BE ABLE TO SUCCESSFULLY CONVERT YOUR BLOGGER BLOGSPOT BLOG TO A NEW WORDPRESS DOMAIN WITH SELF HOSTING.

Related posts:

  1. Video tutorial-How to migrate blogger blog to wordpress with 301 url redirection
  2. How to add image hover effects in thesis and other wordpress themes,blogger
  3. Why should you switch from blogger to custom wordpress hosting
  4. Have a Great blogger blog?You are to be deleted
  5. How to highlight codes& scripts in your wordpress blog posts
  6. How to install wordpress in hostgator webhosting using fantastico
Share this Story
Categories
Tags

AASLIN

Add a Comment on "How to Move from blogger to wordpress with permanent 301 redirection"

    12 Comments on "How to Move from blogger to wordpress with permanent 301 redirection"

  1. This is a underlying blog and I like reading it every morning conduct agreeable’s appreciation you
    an eye to sharing it!

  2. bobby says:

    I am interested to migrate my tech blog to WordPress, so first I have tried this migration process on my movies links test blog @ tech-wonders.blogspot.com

    Have done all the steps as mentioned above(also referred post on labnol) but the problem is individual old Blogger blog posts are not getting redirected to the corresponding WordPress pages.

    here are the site-links indexed in Google search – http://www.google.co.in/search?q=site:linksfordownloaders.blogspot.com

    when clicked on any one of them (excluding homepage and archives which are getting redirected to wordpress home page @ linksfordownloaders.com) you will see the following error message getting displayed

    HTTP 403 – Forbidden
    This area is forbidden.

    What’s might have gone wrong??

  3. bobby says:

    I am interested to migrate my tech blog to WordPress, so first I have tried this migration process on my movies links test blog @ linksfordownloaders.blogspot.com

    Have done all the steps as mentioned above(also referred post on labnol) but the problem is individual old Blogger blog posts are not getting redirected to the corresponding WordPress pages.

    here are the site-links indexed in Google search – http://www.google.co.in/search?q=site:linksfordownloaders.blogspot.com

    when clicked on any one of them (excluding homepage and archives which are getting redirected to wordpress home page @ linksfordownloaders.com) you will see the following error message getting displayed

    HTTP 403 – Forbidden
    This area is forbidden.

    What’s might have gone wrong??

  4. bobby says:

    There were no problems selecting ‘Blogger’ template when creating that blogger page but there are some of the settings that seems to have causing some prob:

    1) Which permalinks structure should be used in WordPress?
    I have set it to custom as /%year%/%monthnum%/%postname%.html coz that matches with the structure on blogspot blog.

    2) Should we enable “POST PAGES” in blogspot blog?

    3) In the 4th step above its said that – ||||The TITLE and URL of that page must be blogger||| ‘URL of the page must be blogger’ means what exactly??
    Please mention how that URL structure will be for my linksfordownloaders.com blog.

  5. kertoon says:

    Sorry, I do not fully understand your step#3. Am I right to say, I go to cpanel in my host, then click on file manager. Then I select which directory to open? Is it Document Root for? The select my site and click “Go”. And from there which one should I pick and what to do next? Please help me out here. Your help is greatly appreciated.

  6. what the heck says:

    What the heck!!!??? I don’t want to redirect traffic back to my wordpress site!! That is annoying!!! I want two sites people can go to!!!! I just want the wordpress site update when I put a new entry in blogger.com! You people are idiots!

    Everytime they find my blogger.com site they get a meta redirect back to my wordpress…???? That is stupid stupid stupid! How about when I sign into my blogger.com site to make an entry?? I get a redirect before I can click on sign in fast enough…

    I want to enter things in blogger.com, then have my wordpress site update automatically… ONLY! no meta redirects and stupid stuff like that…

    I just use Blogger to WordPress plug in and that’s it…. now I find out that maybe there is a limit to the imports…. sucks sucks sucks!!!!! NO META REDIRECT!

Leave a Reply