Transfer your blog from Blogger to WordPress

Written by on March 9, 2013 in Others - No comments
Hi guys now i will tell how to migrate your blogger blog to wordpress. Many people are using which is used to create a customized BlogSpot.

If you are having a BlogSpot in but you want that blog to be transferred to WordPress with a custom domain name and self hosting mainly for earning money, customizing and optimizing it for SEO.

Now you can learn how to transfer your BlogSpot to WordPress. Kindly follow the steps given below correctly to migrate the blogs to WordPress.

Step 1: First register a domain name and hosting from any hosting company you like and then install the wordpress in the given server space.

Step 2: Then login to the wordpress dashboard and then select tools options from the menu and after that select import. Now this will show you a list and from that select Blogger option. That is, select Admin Dashboard -> Tools -> Import -> click Blogger option.

Step 3: when you click blogger option it will prompt you to install the importer Plugin and so install the respective Plugin and activate it. After that it will ask you to authorize the WordPress to access your Blogger account, so that all your old blog post and comments, data will get displayed on your new WordPress site.

Step 4: Now you have to create a file named Blogger.php and upload this file to the themes folder with the codes given below.

Template Name: blogger
global $wpdb;
$old_url = $_GET[‘q’];
if ($old_url != “”) {
$permalink = explode(“”, $old_url);
$q = “SELECT guid FROM $wpdb->posts LEFT JOIN $wpdb->postmeta “.
“ON ($wpdb->posts.ID = $wpdb->postmeta.post_id) WHERE “.
“$wpdb->postmeta.meta_key=’blogger_permalink’ AND “.
$new_url = $wpdb->get_var($q)? $wpdb->get_var($q) : “/”;
header (“HTTP/1.1 301 Moved Permanently”);
header(“Location: $new_url”);

Step 5: Now go to the admin dashboard and click pages to select Add New. Enter the title as “Blogger” and select the “blogger” from the template drop down list and publish it.

Blogger to WordPress

Step 6: Go to the blogger dashboard -> layout -> Edit Html and select “revert to classic blog” which will be present at the end of the page. Now copy the code given below and paste it in the “Edit Template” area and select “Save template changes” button.

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “”>
<html xmlns=”” xml:lang=”en” lang=”en” dir=”<$BlogLanguageDirection$>”>
<script type=”text/javascript”>
<MainPage><link rel=”canonical” href=”” /></MainPage>
<link rel=”canonical” href=”<$BlogItemPermalinkURL$>” />
<div style=”border:#ccc 1px solid; background:#eee; padding:20px; margin:80px;”>
<p>This page has moved to a new address.</p>
<MainOrArchivePage><a href=””><$BlogTitle$></a></MainOrArchivePage>
<a href=”<$BlogItemPermalinkURL$>”><$BlogItemTitle$></a>

Note: You must change all the “” links to your new web address in the above code.

Step 7: Its over! Now if you visit any page of your old blog it will automatically redirect you to the new WordPress page. I will assure you that all the Linkjuice you have possessed will get integrated to your new WordPress pages because we are using 301 redirection URL’s.

Step 8: At last, you need to update your new RSS feed, so go to Blogger Dashboard -> Click Settings ->  site feed and then enter your new Worpress RSS feed address. Now the google reader will automatically forward to your new feed address.

Always keep your BlogSpot alive. Do not delete your blog from blogger because it will provide many values to your new WordPress blog and it will also keep your redirection active.

About the Author

Leave a Comment