Domain Switching
I’m considering moving my blog over to pieceofshep.com. This was where my blog was originally set up long ago (maybe four years ago). The domain fits better with my blog’s title obviously. The only thing I’m worried about is what’s going to happen to all the search engine referrals. I can use an .htaccess rewrite to forward the URLs from mikeschepker.com to pieceofshep.com and that should work ok. I just need to figure out what rules I need to 301 mikeschepker.com/blog/wp-permalink-structure to pieceofshep.com/wp-permalink-structure. I have some good searches on my site and would not like to lose that incoming traffic. This may take some research. If anyone has suggestions, let me know.
Simply move blog on the news domaine.
Configure it same this one (especially permalink structure).
Export all content and import on the new blog.
Put an htaccess:
RewriteCond %{HTTP_HOST} !^www.mikeschepker.com/blog/$
RewriteRule /?(.*) http://www.pieceofshep.com/$1 [R=301,L]
OR
RewriteCond %{HTTP_HOST} !^www.mikeschepker.com/blog/$
RewriteRule /?(.*) http://www.pieceofshep.com/blog/$1 [R=301,L]
Wait for search engine understand it.
You won’t lost your positions and your traffic too.
Hope this help
@+
The correct htaccess
RewriteCond %{HTTP_HOST} !^www.mikeschepker.com/blog/$
RewriteRule /?(.*) http://www.pieceofshep.com/$1 [R=301,L]
Thanks! I’ll try this out.
Be carefull, the hta that I’ve done is cleaned by wordpress and tere are some mistake on it.
Lots of tips o this page:
http://perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/