-
Website
http://www.blogbloke.com/ -
Original page
http://www.blogbloke.com/migrating-redirecting-blogger-wordpress-htaccess-apache-best-method/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
Gem
7 comments · 2 points
-
Ari Herzog
1 comment · 23 points
-
roschelle
1 comment · 23 points
-
John Paul
1 comment · 10 points
-
BLOGBloke
1083 comments · 4 points
-
-
Popular Threads
Right now I am happy with my Blogger blog; I really don't have any issues to get me to stress out transferring everything over. For now, for me, it's a matter of "if it ain't broke"....
Great work bloke !
I wonder If I can alter the code above and add the day code, and then change my permalinks to %/postname/% I know it is beter for search engines. I like the notify me via email of comments. I also have it on my blog and notice it gets used a lot.
To answer your question, the cPanel is provided by your blog host provider. It is where your blog installation resides and where you perform all of your technical adjustments. It is separate from the Blogger Dashboard which is what I think you are referring to.
http://www.blogbloke.com/2007/12/flexibile-blog...
Sweeeeeet!
But I see now how it would get all messed up.
Actually it's come at a good time because I'm thinking of moving my final Blogger site across to WordPress so I'll be keeping this guide handy.
Cheers!
If you do decide to make the move then you now have a tutorial to hold your hand through the process.
yourblog.com, should be replaced by the my new blog's url?or should i just leave the code as it is??
pls. bear with my questions and i'm sorry if i asked one by one here..thank you
Do both solutions (your solution and the FeedBurner FeedSmith Plugin) work the same way?
Redirects from Google's cache should also work, but keep in mind once you tell Google to stop indexing the old blogspot blog the links will eventually disappear deep into the bowels of Googleland.
Yes, "yourblog.com" should be replaced with your blog's new address.
Your good idea is great for smooth sailing!
On a unrelated topic, your "Notify me of followup comments via e-mail" didn't notify me of your followup. If this only affects me than no problem since I can always check back later!
Wow! You really know what you're doing. I managed to get #1, #2 and part of #5 done, but not without a lot of hair pulling, cussing under my breath and some stomping around the room in frustration.
I'm going to go back and do more of what you suggest. (and hopefully not mess anything up in the process!!)
I did notice when I tried to move from www.brandandmarket.blogspot.com directly to www.brandandmarket.com I could not import directly, but rather I had to do the "two step" by creating a brandandmarket.wordpress.com account
and then import from there to www.brandandmarket.com.
I think that step is what annoyed me the most because so many posts had said, just import from blogger into wordpress, but it wouldn't go. I kept getting error messages from google. Silly me, it took me a while to find a post that called out that problem with the wordpress software.
Perhaps that part is fixed now & you can go directly... or perhaps I didn't do every step, like park my blogspot in the parked domains...
Thanks so much for all the detail. I'm going to call out your post because so many of my blogging buddies have asked how I did it and I had so much frustration, I'm not sure I wanted to send them on the same path that I went down.
Chris Brown
Branding & Marketing
Welcome to he community Chris.
Thank you a million times over for this tutorial. I don't know what I would have done without it.
Unfortunately, I'm having a problem getting the .htaccess and the ’NOINDEX, NOFOLLOW’ in Blogger to work. But if I understand what you said in your subsequent post, I should pretty much give up on the .htaccess. And maybe I shouldn't do the ’NOINDEX, NOFOLLOW’ either because of the way I left the posts on my Blogger blog.
I kept the post structure, but I removed all the text in each post and replaced it with a chirpy little message telling people the blog had moved. I also included the new WordPress permalink in each old post, so if people land on an old post, they can just click on the link and be right in the same post on the new blog. You can see it here: http://myhealtharticlesblog.blogspot.com/
I don't know if this was the right thing to do, but oh well; it's done!
Oh, and I love your idea of having Blogger host the URL before moving over to WordPress. I have one more Blogger blog to move (in addition to one on WordPress.com), so I think I'll try that.
Thanks again for taking the time to address all of this madness!
Carla
Regarding "nofollow", I just use a plugin to resolve that issue. You can get it here:
http://www.semiologic.com/software/wp-fixes/dof...
If you don't want the search engines to index certain docs on your Wordpress blog there are a ton of posts out there that you can Google showing you how to do it with .htaccess.
If you are having a problem with editing the .htaccess file make sure you have changed it's file permissions in your cPanel.
Regarding changing the text in your posts, that is an extra precaution against being penalized by Google for double content. However, if you have followed my directions it shouldn't be necessary.
Thanks for the kind comments and please drop by and talk again soon.
My permalink structure is set for "/%postname%/" and the permissions are set correctly for .htaccess; at least I think they are. They're set for "write." But there's still no redirect. Maybe I wrote the code wrong. Is the following correct? ("http://myonlinehealtharticles.com" is the new WordPress blog)
RedirectMatch permanent ^/[0-9]{4}/[0-9]{2}/([a-z0-9]+) http://myonlinehealtharticles.com/$1 # BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
My concern is that I messed up the original .htaccess code somehow when I downloaded and changed it. Like a dope, I didn't save an original copy of the .htaccess file, so I have no reference point.
I really appreciate your help!
RedirectMatch permanent ^/[0-9]{4}/[0-9]{2}/([a-z0-9]+) http://blogbloke.com/$1
# BEGIN WordPress
<ifmodule mod_rewrite.c="mod_rewrite.c">
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</ifmodule>
# END WordPress
Try putting the # BEGIN WordPress part on a separate line after the redirect code. Put .htaccess file into your /public_html/ folder via your cPanel and make sure you have checked all the boxes on your file permissions so it reads "777".
Remember, .htaccess is simply a text file and you should not create it using something like MS Word which adds extraneous code. Use something like windows notepad or the code editor in your cPanel.
I think there's some fundamental piece I'm missing here, because even with using your code/my URL, configuring it in Notepad exactly as you indicated and modifying the permissions in GoDaddy's "Hosting Control Center," the redirect is still not working.
Here are some screenshots of the steps I took: http://b2bcontentsolutions.com/htaccess1.htm
There was no reference to "777" anywhere after changing the permissions, so I'm guessing I've been trying to modify them in the wrong location on GoDaddy's site. Any suggestions?
You're a saint for helping me. I appreciate it so much!
Hmm, all I can think of is the .htaccess file might not be in the proper folder (i.e. the root directory). At this point I would contact GoDaddy support.
You might also want to click the link that I gave in my post for more information on .htaccess. I would also go over all the steps again in my post and make sure that you haven't missed something.
Great post by the way, just this little snag to overcome. I notice that other people have mentioned no redirect too. Did you manage to solve these? Maybe i have the same issue.
Thank you
Daniel
Your new blog host company should have emailed you the directions how to do this. If not, then give them a call.
Have you also left your Custom Domain setup on Blogger (i.e. don’t revert it back again to Blogspot in your publishing settings).
I'll let you know if this fixes the redirect.
About the parked domain thing. I was using a .blogspot.com domain (free version). Therefore, i'm assuming I shouldn't park it. Is that right?
Cheers.
http://www.instabloke.com/2006/11/10-killer-way...
AND
http://www.blogbloke.com/2006/11/10-killer-ways...
Hope you don't mind me writing about my trials and tribulations on my blog?
Daniel's last blog post..My attempt to migrate from blogger to WordPress.
I recommend getting rid of the /blog part in your url and keep it simple. I see no advantage to using it.
In my case I've put .htaccess in the /public_html/ directory that is created in a normal Wordpress installation.
I think you're trying to get too fancy with it. Keep it simple.
If that doesn't work then I'll contemplate losing the pagerank and setting up a 301 redirect or moving the WP install to .com like you say.
Daniel's last blog post..How Not To Tread In Dog Shit
what an impresive article, i can see you did the leg work for this one *claps* i applaud you
this is one of the more difficult things to do when it comes to blogging and i think you pretty much covered it
i'm using blogger's free hosting at the moment, so it would be much harder for me to do that (since i'd have to find a domain name, a host, etc.) but the info is still good to have
mmm, could you maybe direct me to some good hosts & domain registers... my ISP only allows like 25 mb of traffic =/
Zander Erasmus's last blog post..Tips for 3D Students: Interviews
I use Bluefur hosting and have no complaints so far, but I've also heard good things about Small Orange and Dream Host.
I also use GoDaddy for my domain name.
It's always best shop around on google for user opinions before signing up.
I think I'll stay on the free networks like blogger for now till I can make up my mind...
probably once i get enough money from adsense or my freelancing work will I start doing some serious research on which ones would be more beneficial for me.
Zander Erasmus
Zander Erasmus's last blog post..Tips for 3D Students: Networking - Work
thanks a million..
lestat's last blog post..Weekend Shot: NBK's Free Patchi Chocolates
I wish I'd read your tutorial before I tried to make the change. I had a custom domain on blogger but right after I installed wordpress I went to blogger and switched back to my old blogspot address. I futher screwed things up by transfering my domain name publicitystuntn.com to hostgator. And now the domain name is in limbo and I can't get into my wordpress blog because of this. I guess my question is once I get my domain to point to the wordpress blog, is there anything I can do to save my pagerank and other things? note: hostgator uploaded my blogger blog to wordpress already, I just can't login myself to see what it looks like...any advice would be greatly appreciated
Thanks
I'm undertaking a blogger to self-hosted wordpress migration for a friend of mine based in the States. He currently has a .blogspot.com/ address and its being moved to a new mydomain.tv address.
My question is, do I need to convert his current blogspot.com blog to his new 'custom' mydomain.tv address before going through the process you describe in this post? You describe the process for converting to a custom domain in an earlier post.
As a side note, I have spent many hours looking for the solution to migrating from blogger to WP and yours certainly seems to be the most comprehensive - thanks for putting the time into this, its a big help!
Cheers,
Steane
i have a problem , when i include the redirect code in the htaccess file and try to access my site it is giving internal server error...
please find the screenshots here:
error: http://www.shareapic.com/public/view/full/24996
my htaccess file screenshot: http://www.shareapic.com/public/view/full/24996
i hope you will help me in this....
waiting for your reply.....
Thanks in advance
Suresh:)
Suresh's last blog post..4 from 3 and 5
My new path in wordpress is /index.php/year/month/filename.html
I am expecting that someone who goes to myblog.com/year/month/postname.html is re-directed to myblog.com/index.php/year/month/postname.html
I did add index.php before $1 as in http://yourblog.com/index.php/$1
Anything I should be doing differently?
In any case, I am happy to have come across your blog.
My blogger blog for migration has a blogspot extension still. Is there anything more I should do aside from forwarding it to my new domain name?
Appreciate the time you spend helping us folks. Thanks.
Glad you finally got it working Javi.
Unfortunately I'm having a bit of trouble. I've added the lines (and edited the URL) in the .htacess file on my wordpress host (goDaddy). And changed WP permalinks to /%postname%/ which is working fine.
However when I redirect my blog - http://iamcyberphobic.blogspot.com it just goes to www.blackvatican.com
This could be because I just used java to redirect it, if so, what code did you add to blogger to cause your domain to redirect properly, or did you edit the .htaccess of the domain you bought for your blogger account?
Thanks.
Flynn's last blog post..Swingline baby!
You should also read my other tutorial first http://www.blogbloke.com/custom-domain-blogger-... to make sure you set up your blogger domain properly.
I renamed my WP directory to 'blog', so that must be added to the URL. Also because of the Blogger way of putting posts in the /year/month/postname.html format, you would need to add '$2$3' to the end of the URL.
RedirectMatch permanent ^/[0-9]{4}/[0-9]{2}/([a-z0-9]+) http://www.yoursite.com/blog/$1$2$3
Thx,
JP
Thx,
JP
Tony's last blog post..Entrepreneurship Lessons From Nigerian June 12 Story
I used to have my blogger blog posted via FTP to an .html page on my website. I have now migrated over to Wordpress to publish to a /blog/ page on my website.
How can I tweak your process to redirect my blog posts and keep my Google juice. I currently just have a standard permanent redirect set up via cpanel.
Thanks
http://www.blogbloke.com/custom-domain-blogger-...
and then follow the instructions here it should work.
What if my blogger custom domain is the same domain I want to use with wordpress? could you please help?
Thanks!
I've got a problem that's documented here:
http://groups.google.com/group/blogger-help-pub...
It has to do with getting the redirect to work in Internet Explorer. How do you get Internet Explorer to accept the Blogger redirect?
Jill
I went to your other post, and when I go to this link:
http://www.blogbloke.com/
I get the exact same error message in Internet Explorer that I'm getting from going to the blog I'm working on.
So if people who use IE try to access your old blogger blog, they go nowhere....could you please verify this issue exists?
Jill
Like I already said you need to first follow my directions for setting up your custom domain:
http://www.blogbloke.com/custom-domain-blogger-...
And then implement the htaccess redirect:
http://www.blogbloke.com/migrating-redirecting-...
Just so you know that it works, click on my old address and you will see the redirect in action:
http://instabloke.com
I hope this helps.
Cheers!
I have been writing a blog on blogger for the past 3 years. I don't use custom domain in blogger, but I want to move over to wordpress with a new custom domain now. Will these steps still work?
What do i need to change with step 3 if i don't use blogger custom domain?
thanks in advance.
Really liked your article. I am trying to migrate my site from blogger to wrodpress. I am facing some problems. Firstly, I have a custom domain on blogger, then do I need to park domain for transfering?
Secondly, I am not getting clear with the idea of .htaccess file. Not able to proceed with step 4. Can you pls explain me the step 4.
Thanks,
http://www.aboutinterview.com
.htaccess is just a text file. Use something like notepad (for windows users) to create it. Don't use a word processor like microsoft word because it will add extraneous code.
Just copy and paste the code I gave you above into a text file and then upload it to your blog's root directory and watch the magic begin.
so if I have two posts in my new wordpress with the title:
www.mysite.com/name-of-the-post
and
www.mysite.com/name-of-another-post
it seems to just find the "name" and go to the first one, instead of matching everything else.
Any reason why this might be happening that you know of?
([a-z0-9\-]*)
RedirectMatch permanent ^/[0-9]{4}/[0-9]{2}/([a-z0-9]+) http://yourblog.com/$1
before the
# BEGIN WordPress
But, I don't have a "# BEGIN WordPress" in the first place? Can you share the whole .htaccess code?
I love that you are willing to take the time to write up such helpful guides for all of us regular folks in cyberland. Your work is generous and exceptionally helpful. So, thank you. I'm about to try to redirect all the posts from my old site, www.theargentinepost.com - which is blogger-based - to my new site - www.argentinepost.com - which runs on Wordpress. In the time that has passed since you first posted this, have you learned anything new that would make you change your mind about redirecting? Are there any new plugins available that make all this a snap? Or is your original method still the best out there?
A second and final question: I bought www.theargentinepost.com from Blogger, through Godaddy. Do you know if there is any way I can free up that domain and associate it directly with my www.argentinepost.com account?
Thanks again for keeping up this blog. It is very helpful.
Cheers,
Taos
Those are tough questions. I'll answer the easiest ones first.
1. There are no plugins that work as far as I know for redirecting.
2. Yes, I still think my method is the best. I spent a great deal of time investigating the issue and to my knowledge this is the best and easiest method.
3. I'm not as concerned with redirecting now as I once was because the search engines have caught up and reindexed my blog. Nevertheless, for the first few months at least I think it is important to have the redirect set up.
4. As far as your last question is concerned I'm not sure if I understand what you are asking. It's a little confusing to me and can you give me more details?
Thanks.
You're a star! Truly. Thank you so much for your kick-ass and exceptionally generous advice. I really appreciate it. If you ever make it to Argentina, check out my blog and look me up.
Take care and many thanks for keeping at this. I know I'm not the only one who very much appreciates what you've been doing here.
Taos
I'm currently tweaking the set-up in a test blog. I'll come share the URL of my post once it goes public to my custom domain name!
tatas last blog post...The Jug Band Jubilee
tatas last blog post...The Jug Band Jubilee
In this tutorial, you also migrated from one custom domain to another.
Is the procedure the same (minus the parking part) if I already have a custom domain and I'm trying to move the exact one to self hosted wordpress?
I mean, the redirection thing, works the same if you're not parking any domain?
Hope I made sense, lol. I'm a complete noob to these "domains and hosting" thing
thanks!!
Paula
http://www.blogbloke.com/2007/12/flexibile-blog...
why is that? is this method no longer working? I am missing something, probably :)
thanks a LOT for your kindness and help, much appreciated <3
So all I can say is just trust me when I say that it works. Or trust all of the people who have commented here and are using it.
Thanks again.
Any tips on how to fix internal links in the move? I have a Blogger blos I'm intending to migrate to Wordpress - it has more than 1000+ posts - most of them with internal linking - so it will be really a pain to fix each one by hand.
Hope you have any idea. I just only found this: http://www.mydigitallife.info/2007/10/01/how-to... it says something about applying a SQL command, but I'm clueless.
thanks in advance
I finally decided to move to wordpress, already bought a domain and hosting... but then, when setting my custom domain in Blogger and that domain is pointing to my hosting, Blogger doesn't redirect anymore: instead there's a page saying that my blog is redirecting the user and they don't know if it's spam, secure or anything , and two buttons "yes and no" to continue.
I cannot believe how sad I am... I came to decide too late.
Is there anyway to surpass this problem?
I'm not concerned because it only affects IE users and what's important is the redirects are in place. The search engines will make a note of the change and adjust accordingly the next time your site is indexed.
So don't worry. In time it will work itself out.
I saved every post I've made on my hard drive because if this doesn't work as planned...I won't lose everything.
My question: Is there a way to just import the Blogger archives into Wordpress or does this need to be completed manually?
It may seem like a lot of work but you can do it in a few minutes and the benefits are well-worth the effort. So I highly recommend you bite the bullet and give it a whirl. Upgrading to something new may seem like a nuisance at first because of the learning curve, but it is unfortunately a necessary evil if we want to grow as a blogger.
The answer to your question is yes, you can import your Blogger posts into Wordpress.
It's a good idea to backup your posts and a much-needed feature that Blogger has added. So even if you decide to remain on Blogger you can create a free Wordpress.com account and make another backup there as well as on your hard drive.
Thanks for the question.
Thanks Bloke! Nothing like a reality check when whining seems easiest;)
I read your stuff above and skimmed the comments. Everything is working precisely as it should, minus one point:
If I make the permalink change to make it SEO-friendly, like http://www.ariwriter.com/social-media-marketing... but if the search engine points me to http://www.ariwriter.com/2008/09/social-media-m..., it won't redirect.
So for the time being, I changed the permalink to reflect "month and name" so http://www.ariwriter.com/2008/09/social-media-m... redirects to http://www.ariwriter.com/2008/09/social-media-m...
Thoughts? You're a life saver...
Ari
For example this redirects just fine:
http://www.instabloke.com/2007/12/flexibile-blo...
You also need to wait 24 hours to make sure all of your DNS settings have fully propagated.
lissies last blog post...Technical problems: comments
I have two questions:
1) I would like to transfer from blogger custom domain to wordpress(same domain). ie from xyz.com on blogger to xyz.com on wordpress.
Acc to step 1, we should change the Name Server settings to point to the wordpress host's server. Don't you think changing the "Name Server settings" BEFORE exporting the custom domain blog into wordpress will render the blog inaccessible for wordpress import functionality?
2) I read on one of the blogs that though posts, comments and users get transferred but the images doesn't, they still hot link to the your blogger account. Were you able to transfer the images successfully through the wordpress import functionality?
I trust I am clear with my questions.
ROWs last blog post...2 excellent tools to get ideas for your next post and to find the hottest keywords in your niche
1. I think you are confusing the terms exporting and importing.
2. When you import links they stay the same. So if they are already hotlinked to Blogger then they will stay hotlinked.
I've heard of a plugin that can change that but I've also heard it has database risks so I never bothered.
Go ahead and make the switch. You'll be happier for doing.
Thanks for dropping by.
...BB
I'll be sure to come back when it actually works. (Gotta pretty up the new site before I start sending my readers there, though.)
Wendys last blog post...How Not to React
Just one question: my blogger feed currently has a bunch of subscribers; if I want to delete my blogger blog, is there a way to automatically redirect those subscribers to a new feed?
On your old blog make the last post explaining you have moved and ask your readers to resubsribe the new feed. In your Blogger Settings add your new feed url where is says "Post Feed Redirect URL".
I am a novice so please keep it simple for me:)
I have a Blogspot that's established (1600 posts), and which I imported to a Wordpress self hosted.
So now I have two sites with the same articles.
What I want to do is have anyone who goes to the blogspot, forwarded to the exact post on the Wordpress and yet retain juice.
But, I also want search engines to completely re-index the pages with the new domain name.
I think it's possible with this tutorial