Whenever, we think about the history of most productive Blogging platform the first word which clicks our mind is either WordPress or Blogger. Still lots of Well-known bloggers are in doldrums whether to select WordPress, or they should try their luck with Blogger. Blogger and WordPress have been competitors since an elongated period but in the meantime WordPress has developed tremendously, in spite of getting introduced before Blogger. Mohammad has covered lots of posts regarding avoiding Blogger to WordPress conversion but one should always know how to do something, so we may continue to make use of the resources. So in this article, we will cover How To Migrate Blogger to WordPress Blog without losing a single SERP Ranking or Page Rank Juice.
Mohammad himself started his dream Blog on Blogger (MyBloggerTricks) which become the biggest hit of the decade and later on he put everything on the line by starting yet another blog with totally different niche (SmartEarningMetods) but this time he chooses WordPress, and stunningly the results were pretty much similar. This proves that Blogging Platform doesn’t matters a lot. The only thing which is responsible for your success is Quality, Quality, and Quality.
Note: This guide does not motivate you to shift your blogger blog to Wordpress. It is only an instruction guide for those who are well aware of the challenges faced at Wordpress platform.
Main Goal:
Assume you are currently using a low quality domain i.e. abc.blogspot.com and you want to migrate it from Blogger BlogSpot Blog to WordPress (Self-Hosted Blog) with a professionalized domain i.e. www.mybloggertricks.com
Problems You Might Face During The Migration:
- When you transform from Blogger to WordPress, the chances are exceedingly high that you might lose your quality subscribers i.e. Feedburner until or unless you redirect your BlogSpot Feeds to your new WordPress Blog.
- Rarely your few posts might be ranked well in Google search engine, but after Blogger to WordPress conversion you might notice a noticeable decline in your SERP Rankings. Therefore, you have to keep your Cool until or unless ranking get backs to normal.
- Human visitors will feel a bit stressed when they will try to visit your blog with OLD bookmarked URLs, if you don’t permanently redirect your old URLs to new one.
- You need to Learn WordPress in order to get full command on it. This is the most difficult part to get into plugins and theme. However, experience lead us to success so don’t hesitate and maintain patience.
Ultimate Solutions:
The problem listed above might appear magnificent, but we can minimize their effect by utilizing effective methods. We will simply redirect our OLD blog posts to NEW one so search engine bots don’t get confused in identifying whether we are on Blogger or WordPress.
In this tutorial, we will learn how to switch from Blogger to WordPress without losing your major SERP ranking. We will also discuss how to redirect our old feed to New WordPress Feed, so let’s get back to work.
Step by Step Guide
Before we get started, it will be splendid if you create a dummy blog for experiments. By doing this, you will not only eliminate mistakes and by chance if anything goes wrong you will have the certain satisfaction that you are not working on your main Blog. This will also minimize your errors in the main Blogger to WordPress transformation. Don’t forget to take a Backup of your Blogger Blog i.e. Posts Data as well as Template.
Step#1: If you don’t have a Hosting then what are doing here go ahead and get a cheap domain, as well as Hostgator hosting. We will recommend you to go with Hostgator because those guys are always ready to help.
Step#2: Now you have to import your entire Blogger Blog to WordPress
- Go to WP-admin Panel >> Import >> Tools >> Blogger
- Now give permission to WordPress to access your existing Blogger account by pressing the button which says “Authorize”.
- After granting permission you able to see list of multiple blogs attached to your certain Blogger account, just import that blog which you want to migrate to WordPress by pressing “IMPORT” button. Now after the blog is completely imported give admin right.
Step#3: Now Copy the following PHP coding and save it into an empty notepad, renaming it to “Blogger.php”. After that you have to use CPanel or any other FTP software to upload it to Your WordPress Theme Directory. Keep in mind you have to Upload it in your Theme Directory i.e. WP-content/themes/your-theme where your-theme is representing your theme’s name.
<?php
/*
Template Name: blogger
*/
global $wpdb;
$old_url = $_GET['q'];
if ($old_url != "") {
$permalink = explode("blogspot.com", $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 ".
"$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");
}
?>
Step#4: After Uploading the PHP file to your WordPress directory
- Go to WordPress Admin >> Add new Page.
- In the title write blogger while keeping your post body empty (Don’t use capital “B” in blogger)
- Now select “blogger” from the templates tool in the sidebar menu and then publish the page.
- Make sure that your domain structure looks like this www.xyz.com/blogger.
Step#5: Now you have to redirect your current BlogSpot Blog to WordPress but if you don’t redirect the existing blog Search bot will mark you as spam because you are duplicating your content for the sake of traffic. Just Copy the following Chuck of code and
- Go to Blogger >> Template >> Revert to Classis Template >>
- Now you will be able to see a text box, just paste the Code there and save your template. Remember: Replace http://www.mybloggertricks.com/ with your domain name and don’t forget to align http:// as well as trailing slashes with your domain name.
<!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://mybloggertricks.com/'
</MainOrArchivePage>
<Blogger><ItemPage>
window.location.href='http://mybloggertricks.com/blogger/?q=<$BlogItemPermalinkURL$>'
</ItemPage></Blogger>
</script>
<MainPage><link rel="canonical" href="http://mybloggertricks.com/" /></MainPage>
<Blogger><ItemPage>
<link rel="canonical" href="http://mybloggertricks.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://mybloggertricks.com"><$BlogTitle$></a></MainOrArchivePage>
<Blogger><ItemPage>
<a href="http://mybloggertricks.com/blogger/?q=<$BlogItemPermalinkURL$>"><$BlogItemTitle$></a>
</ItemPage></Blogger>
</h1>
</div> </body></html>
<!-- replace mybloggertricks.com with your WordPress site URL --->
Congratulations! You are successfully migrated to WordPress without losing a single piece of Search engine rankings I guess that deserves Cheers!
Redirecting your old Feed URL to WordPress Feeds:
When you migrate from Blogger from WordPress, your Feed URL might change so to redirect your existing feeds to WordPress
- Go to Blogger >> Settings >> Site Feed >> Custom Feed >>
- And now write your new WordPress Feed URL and save it.
Got Questions?
So I Hope you have enjoyed the roller-coaster rider , If you have any problem regarding Blogger to WordPress transformation feel free to leave your comments in the comment box below. Till then Peace, blessings and Happy Migrating.
This is a guest post from Faizan Ali who is a passionate blogger and writes actively at MyBloggerLab.
If you don't want to get yourself into Serious Technical Trouble while editing your Blog Template then just sit back and relax and let us do the Job for you at a fairly reasonable cost. Submit your order details by Clicking Here »
Mohammad, please correct the code in step 3.
ReplyDeleteLine numbers not removed from the code.
@Bhavesh Pamecha
ReplyDeleteYes I Assume In Hurry Mohammad Sir Forgot To Remove Numbers. Its Eid so you can expect that. Peace
very nice post it really helps me bcz me trying to transfer my blog from blogger to wordpress. thanks
ReplyDeleteregards
smartincomeguide.com
Its great to see Faizan on MBT with a great post.is mbt start accepting guest post?if yes then it is a great idea. well i think wordpress is good due to large number of plugins but i personally love blogger. For faizan its great to see his new template and BSA and a new author.keep it up bro. MyTechPromo.com
ReplyDelete@jalil haider
ReplyDeleteOh! That's Really Cool. However, if you get stuck in middle don't forget to revisit MBT for any Questions or queries. Peace
@Pramod sharma
Thanks For the Appreciation Buddy. And Yes, Time changed as well as things got renewed on MBL, specially getting BSA was the best moment. Learned a LOT From MBT and now hopes are even more From Mohammad to Cook Tutorials Like a Master Chef. Peace
Hi muhammad you are doing a Great job, I want a help from you , plz i want a code to add tabs to Html widget , which when opened doesnot refresh or load the whole page , i am searching and doing work on it from a week , but i am failed :\ Please help me out for this.. if any visitor can help , comment here
ReplyDeleteThanks in Advance
This comment has been removed by the author.
ReplyDelete@Martin GajurelDude, you have placed a link on your words by wrong way. It will not work.
ReplyDeleteThis comment has been removed by the author.
ReplyDeletecurrently what platform ru using
ReplyDeleteblogger/wordpress
iam going for it...
This comment has been removed by the author.
ReplyDeleteThank You Very Much! Wish To Learn More on the STEPS Bro =)
ReplyDeleteThis comment has been removed by the author.
ReplyDelete@Shahbaz Khan
ReplyDeleteYou you Want To Redirect .tk to .com then I Think You have to Upload the Whole Data on your .com New Domain and One by One have to redirect each and every post.
Some of you said to delete the number in Step 3, can you explain that more? What part needs to be deleted? Or has it been fixed how it appears now?
ReplyDelete@Mike Pease
ReplyDeleteDon't Worry Dude, It is Fixed. You can Copy it without any hesitation. Peace
Thanks Syed!
ReplyDeleteI'm having problems with Step 3. I went to Notepad and created a file with the text and saved it as Blogger.php it saved it as Blogger.php.txt I uploaded it to cPanel Wp themes but it's saved as a text file. I tried again and saved it as "Blogger.php" and it saved it as a php file and I uploaded it. In both cases, it's in the WP Content/Themes area but not as a theme but as txt or php. I go to WP Theme to upload it and it asks for a zip file? I can't get the blogger one to load, help!!!
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteIn cPanel WP Admin/Themes I have the file you posted listed as blogger, but when I go to WP Admin and try to choose the theme, it says, "The following themes are installed but incomplete. Themes must have a stylesheet and a template" Please help!!
ReplyDeleteso..no own domain no wordpress?
ReplyDeleteYes, I own domain and hosting on HostGator
ReplyDelete@Mike Pease
ReplyDeleteBrother You Just Have To Upload Blogger.PHP in the Theme Directory which is currently online on your Blog. Don't make it a Text file. Make it PHP. And Then Follow the Steps it will work.
Nice article... Recently I tried one and it was successful...
ReplyDeleteIF we transfer all data from blogspot to wordpress.the original data in blogspot will remain or delete?
ReplyDeleteThanks Syed, yes, I added the php to my current theme on WP and it worked perfectly!
ReplyDeleteThis comment has been removed by the author.
ReplyDelete@Unique Chess GroupAll the Data will remain on BlogSpot Blog but the OLD URLs will redirected to your New URLS so Don't delete your Blogspot blog until or unless Google transfer the Juice to new URLS.
ReplyDelete@Mike Pease
Great News Buddy. Peace
@Syed
ReplyDeleteMy idea is that i want data both in blogger and wordpress if i transfer it to wordpress will the data still be in blogger and can i continue posting in blogger?
@Unique Chess Group
ReplyDeleteYes data Will Remained on Blogger when you transfer. You can Still Publish new posts But you cannot view them because you have switched to WordPress
I have followed the same procedure. However in last step, i have taken from you and replaced your domain with my domain and pasted the code in blogger template. However unable to save it and showing errors wherever $ have.
ReplyDeleteKindly let me know how to solve this problem.
Thanks
Sankar
@Sankar Datti
ReplyDeleteDude First You have To Revert to Classic Template then Apply the Coding. Peace
Hi, I want to transfer my blog from blogger to wordpress, but I already have a custom domain, so How can I transfer it without change the domain?
ReplyDeleteHOW TO RESOLVE THIS:
ReplyDeleteError parsing XML, line 4, column 9: The content of elements must consist of well-formed character data or markup.
@José Vega
ReplyDeleteThe Steps Will be Remained The Same. Don't Think that whether its on blogspot or .com domain. Follow Same Steps. But Remember to Remove Google DNS from your domain. Peace
@Shahbaz Khan
ReplyDeleteWhen You are Getting this Error. I Think you are not following the Steps Correctly.
hello thanks for this tuorial
ReplyDeleteplease how to transfer using the same domain ?
suppose i have domain www.domain.com pointing with my blogspot
my question how to use the same domain on wordpress and in the same time all your post on blogspot (domain.com ) will transfer to wordpress (domain.com )??
and thanks
are videos are also transferred while using this method of transfer ??? I run a video blog.
ReplyDeletewe Need Web space ? I mean I have Domain but i dont have hosting space then what to do ? any solution ?
ReplyDeletewell i followed this now blogger locked my blog says its been indetified as a spam blog wtf
ReplyDeleteThanks for the inof, going to try this in my site.
ReplyDeleteDear now I use blog spot as blogging platform .you said that word press is better than blog spot. How can i change my blogging platform to WordPress it possible please specify the cost of this process i know it depends the blog style. this is my tech sitehttp://gotechmax.com/
ReplyDeleteWIll i loose any of my SEO , pr juice or backlinks by miving blogger to wordpress platform?
ReplyDeleteIt is necessary to have a custom domain for moving to wordpress or can I use .blogspot doman too for transfer?
Thanks for this article. Hope you wont mind my questions
Looks like I'm the third person to ask this on this article.. but I don't see an answer!!
ReplyDeleteI also have a custom domain blogger blog that will be moving to wordpress and I would like to know how to automatically make 301 custom redirects!
Thanks!
L
I am in the process of transferring my blogger to wordpress. I'm a bit lost on the instructions. Do I access from Wordpress OR blogger (after I transfer)?
ReplyDeletePlease elaborate which site I will be working from. And please understand that I am NOT blog savvy :). Thanks!
My site: www.SACOSHA.com
Hello, if you could please help me.
ReplyDeleteI followed the instructions but my blogger template will no let me save the pasted information.
I would appreciate your help.
Beatrice
www.Sacosha.com
beatricebalaj@gmail.com
How Long do I have to leave the Published “Blogger” page on my new word press blog? Or is there a way to hide that page?
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThanks for sharing this very useful techniques.....but if suppose i migrate my blogspot to wordpress platform then it is necessary to having Hosting account.....like any hosting providing service......or i can use free hosing like blogspot ....
ReplyDeletehttp://www.technotrickies.com/