Recent Topics

1 Feb 05, 2006 23:02    

I recently split my blog(s) and moved some of of them to a new domain.

Can someone help me with some htaccess code?

I can do the basics, but I'm having trouble making it generic to take care of the RSS feeds and other misc functions as well.

This is what I have right now which takes care of just the basics

BLOG REDIRECT
RewriteCond %{query_string} blog=5
RewriteRule \.*$ http://www.NEWDOMAIN.com/index.php$1 [R=301,L]

So I just want to capture and redirect and references to blog=5, and all other blogs will stay on the original/old domain

Also, to complicate things the original blog was at

ORIGINALDOMAIN.com/blog

whereas the new blogs are now moved to

NEWDOMAIN.com

Note no /blog

Thanks in advance

Chris


Form is loading...