We have already covered following topics in the series migrating from BlogSpot to wordpress![]()
- 8 reasons why self hosted blog is better than free blogspot blogs
- How to import your blogger blog posts, comments and user to wordpress
- Step by step guide to Install self hosted wordpress blog on dreamhost hosting
Before you migrate from BlogSpot to wordpress , you need two things : Domain name and hosting.
I suggest dreamhost, and why dreamhost ? You can read about dreamhost hosting on my previous articles
Hosting
In the end you might need 50$ discount coupon of dreamhost
Dreamhost 50$ discount coupon and promo code
Domain name
Domain name can be .com, .info, .org, .net but I will suggest go for .com or .org domain address. Do read
Tips to select great domain names
There are few things needed to be taken care of while moving from BlogSpot to wordpress
- Traffic : You don’t want to give lots of 404 error pages to your visitors.
- 301 perma redirection : The migration should be 301 perma redirection , else all your posts will be broken.
- Permalinks : Your wordpress permalinks should be same as blogspot else traffic from search engines or any other source will get 404 error pages. Though you can change your permalinks later for better SEO , refer to my article on how to change your permalinks without loosing traffic.
- Enhance your 404 pages = Though there are chances after migration , that 1%-2% of your pages might give 404 not found error, to avoid this, I suggest read the previous article on how to enhance your 404 error pages with Google custom search
Some important things to keep in mind while migrating :
- After migration, don’t delete your BlogSpot blog.
- 301 permanent redirection means telling search engine that has been moved to new place , and all your traffic will automatically redirected to new domain address.
Our goal for the migration :
- Migrating visitors from blogspot to wordpress
- Migrating blogspot posts to wordpress
- Migrating BlogSpot Comments to WordPress
- Redirecting users to the post, rather then just homepage of new domain
In this tutorial, I assume your new wordpress blog is located at the root of your host
Like www.shoutmeloud.com/ rather then www.shoutmeloud.com/blog
Step by step process of migrating from blogspot to wordpress
Step#1 Change your wordpress permalink to match blogspot permalink
On your wordpress dashboard settings> permalinks, change your permalinks to match with blogspot permalinks
/%year%/%monthnum%/%postname%.html
Step#2 Importing posts
Importing your blogspot blog post to wordpress : This can be easily done by using import and export feature of wordpress and blogspot respectively.
Refer to my last post on How to import blogspot blog post to wordpress
Step #3 Setting up redirection
Login to your blogspot basboard > Template> Edit HTML
Revert to classic template
Add the following code after <Blogger> , replace Shoutmeloud with your domain name
<MainOrArchivePage>
<script language=javascript><!“
var blog_root=http://www.shoutmeloud.com/;
document.location.href=blog_root;
//“></script>
</MainOrArchivePage>
<ItemPage>
<script language=javascript><!“
var process_page=http://www.shoutmeloud.com/bloggerposts.php;
var newpage=process_page;
var oldlink=<$BlogItemPermalinkUrl$>;
newpage+=?p=+oldlink;
newpage=newpage.toLowerCase();
document.location.href=newpage;
//“></script>
</ItemPage>
Between <head> and </head>, add the following code, replace shoutmeloud with your domain name
<meta http-equiv=refresh content=0;url=http://www.shoutmeloud.com/ />
Step#4
Create a text file and name it as bloggerposts.php
Add the following code in the file and upload the file to the root of your domain using any ftp program, replace Shoutmeloud with your domain name
<?php require($_SERVER['DOCUMENT_ROOT'].'/wp-blog-header.php'); $search_link = $_GET['p']; $vars = explode('/', $search_link); $num = count($vars) - 1; $filename = $vars[$num]; $slug = str_replace(".html", "", $filename); $SQL = "SELECT posts.* FROM $wpdb->posts AS posts WHERE posts.post_name = '$slug' LIMIT 1"; $posts = $wpdb->get_results("$SQL"); if ($posts) { foreach ($posts as $post) { $found_link = get_permalink($post->ID); } } else { $found_link = "http://www.shoutmeloud.com/"; } ?> <html> <head> <title>Redirecting...</title> <script language="javascript"><!-- document.location.href="<?php echo ($found_link); ?>"; //--></script> <meta http-equiv="refresh" content="2;url=<?php echo ($found_link); ?>"> </head> <body> <h1>Redirecting...</h1> <p>You can also proceed immediately to <a href="<?php echo ($found_link); ?>"><?php echo ($found_link); ?></a>.</p> <p>The main blog URL is <a href="http://www.shoutmeloud.com/">www.shoutmeloud.com/</a>.</p> </body> </html>
If you have followed each steps carefully, you have successfully migrated from blogspot to wordpress with 301 permanent redirection.
If you have any problem or question feel free to ask questions. If you still feel uncomfortable to take care of all this thing, You can hire me for blogspot to wordpress service.
You can catch me on twitter @denharsh or through contact page.
Related posts:
- How to import your blogger posts, comments, users from blogspot to wordpress
- How to change your wordpress permalink without losing traffic
- Shoutmeloud opens Blogspot and wordpress.com to self hosted WordPress blog migration service
- Dreamhost Promo code for 2009
- 8 Reasons Why self hosted wordpress blog is better than blogspot blog
- How To Set Custom Domain Name for Blogspot blog [Video]
- 199DOMAIN Coupon Code Buy domain for 1.99$ from Godaddy
- Go daddy promo code 99BUYCOM || Buy domain for 1$







→
→
{ 33 comments… read them below or add one }
Kewl, simple and clear
Thanks Bariski
I’m glad that you find it useful.
Hey! Been awhile. Always catch your blogs through my inbox, just haven’t had time to Twitter or visit long enough to comment until now.
My question is about moving my blogspot blog to WP. I don’t really have any traffic as yet (was waiting for the move) so can I just move the posts I want to keep physically (copy and paste) to WP and then delete old blogspot blog? I have a domain and host now so can be more flexible than when we discussed the move before.
Molly
Molly you can import your blogspot blog to wordpress with 301 perma redirection, do remember you don’t have to delete your blogspot blog, else you will be penalize for Google if it’s not a 301 perma redirection. Let me know if you have more questions.
Thanks! Exactly what I needed. Will take care of it asap.
Molly
Best of luck buddy
Very much a required post..Cos many are changing from Blogger to Wordpress now days i feel..
The important thing here is that the 301 redirection will also take care of SEO that is Pagerank juice !
Thanks for the nice and easy tuto …
Chetan you are right, usually people just import posts from blogspot and that create exact replica of blogspot copy and thus duplication issue.
Such blogs get penalize soon. This process need utter care to pass on the link juice and page rank to new domain.
Harsh,
I don’t have much traffic to my blog yet so deleting it won’t lose any ‘juice’. All I want is some of the posts there and I can copy and paste them as new blogs to the new WP one. Is this feasible or will search engines access the old pages anyway, even if I delete the blog?
Molly
Molly if you simply copy paste the old post, that will be page duplication. In that way your new blog will be counted as spam blog.
What you can here is
Delete the blogspot posts which you don’t want to keep and remove them from search engine using Google webmaster URL remover tool.
Now apply the 301 permaredirection method as mentioned above in the post.
This way you can keep the post you want to and migrate them successfully to new wordpress blog, without hampering your traffic and link juice.
If you have any doubt or questions feel free to ask.
Regards
Harsh
@Harsh
Nice blog post.
Actually I need to know that how can i transfer my blog to wordpress with the same custom domain. I’ve purchased techeguide.com from blogger/google apps and now I want to move the blog to wordpress with the same domain. The permalink structure you have shown above would be very helpful in this process. So Harsh, Is there any way to do so?
I followed your method and migrated my blog to wordpress. But now the problem is that all my posts are getting redirected to wordpress homepage instead of post. Reply ASAP
Simran™s last blog post..Add "Subscribe To Comments" Plugin To Your Wordpress Blog
How about the permalinks Simran? Have u taken care of it? If not ..all your post will be redirected to HP…
You better catch me on Mail. Will take care of the issue.
Waiting for your reply Harsh !!!
Is it possible to migrate mysite.blogspot.com to mysite.wordpress.com. If it is possible How can i upload a text file to new mysite.wordpress.com to the root directory. How do i upoad a text file to root in wordpress. You Mentioned about ftp what’s that?
if i have the same domain in my blogger Do i have to apply domail redirect steps ????
my domain in blogger is http://www.dd-links.com
You can transfer your Domain name to your new hosting account and revert back to your blogspot domain for your blogspot blog. Now follow the steps mentioned above.
If migrate to wordpress,does Google PR lost ? The feedburber feed need to create a new one ? caused my blog subscribers around 2K.
Please advise.
wongsk™s last blog post..Alonweb Free VPN Service
I notice you are using feed burner so you can easily migrate along with all your feed subscribers..
Apart from that your PR will be lost for first few months but you will get it back with the next update..
For hosting you can have a look at this post :http://bit.ly/3kYTC
and if you need professional service to migrate to wordpress, you can see my services and testimonial http://www.shoutmeloud.com/services
Do let me know if you have any more queries..
Hi Harsh,
Thanks for your prompt reply.
Actually i have a custom domain name,thinking that using it point to blogspot.com but i have used blogspot more that one year,all will have to starting from zero again if i using new custom domain name.
Is it ok for me to do that ?
wongsk™s last blog post..Alonweb Free VPN Service
If you use custom domain to point to blogspot.. It will not make any difference..
But if you planning to host it somewhere else..Like self hosted wordpress blog.. Then you might face little problem at the beginning and later on once Google crawler get used to your 301 perma redirection.. Every thing will be normal.
Unless I’m mistaken, there is error in the code to be added in the blogspot template. the comment inside the javascript is missing one “-”. There seems to be only ‘
I’m trying to follow your directions to migrate my wife’s blogspot blog to a hosted wordpress blog. For some odd reason, the blogspot blog is not redirecting at all. I see the meta refresh tag in the source and it seems correct, but the page never actually refreshes. Any ideas?
I hope you have uploaded the bloggerpost file at the root level of your domain.
This post is intended for blogs which are hosted at root level of your domain but not at the domain.com/blog level.
Please crosscheck that, because many user used the same process for migration and it worked for them
If for some reason, you can’t figure it out, you are always welcome to hire us for professional services
http://www.shoutmeloud.com/services
Harsh Agrawal™s last blog post..Shoutmeloud Monthly Income report for May 2009
Thanks for sharing step by step guide for migrating blog from blogspot to wordpress. Can you please tell me will it effect in Google PR and SERP.
Thank you for the explanation!
I’ve googled up this query and found other guides too. It’s somewhat different when I compare all the guides.
So which guide should I follow if I’m planning to migrate my Blogger blog to a self-hosted Wordpress?
Other guides didn’t mention a bloggerposts.php file to the root of the domain. So I’m not too sure.
Please bear with me as I’m not good with such technical stuffs. Thanks! =)
.-= kenwooi ´s last blog ..Malacca: The Historical State =-.
Kenwooi
i know there are several ways.. but this is the way I prefer because I used the same method to migrate my blogspot blog to self hosted wordpress blog. Infact For my clients I use the same method along with few extra milestone.
This guide will help you completely, in case you are not familiar with the technical terms, You can always hire us for do the migration for you.
http://www.shoutmeloud.com/services
Regards
Harsh
BROTHER hELP nEEDED
.-= Chethan T ´s last blog ..Airtel Special 5 Advertisement. Boat and A Little Girl. =-.
Hi harsh. I did everything u have told. But still its redirecting to blog home page instead of the respective post. Could u plz help me to solve this problem.
.-= Sathish Kumar ´s last blog ..Robot Chicken S04E19 DSR XviD-SYS =-.
thanks for information – 1 question though: should bloggerposts.php be uploaded to the public_html directory or one level higher, at root?
Guy it depends … Some host give a replica of files in root into public_html so you can upload it anywhere.. Either in the root or it may be www or public_html. Depending on the installation directory of wordpress.
Hi Harsh,
Thanks for the great article. One question: In the code snippets I’m seeing in your post there are lots of little rectangular boxes in the code. e.g.
In “meta http-equiv=refresh content” there is a rectangular box immediately before and after “refresh”
I’m sure this is just a WP formatting thing but I’m wondering what these characters should be? I assume just to delete them completely?
Thanks.
Daniel.
P.S. Is this method still current??