Hello,

I have an issue with a htaccess file.

I want to direct visitors to a subidrectory of my site in 2 different ways.

1 - If they visit blog.mysite.com I want them directed to my homepage. I have done this successfully.

Code:
RewriteEngine on
Redirect 301 http://blog.mysite.com http://www.mysite.com
2 - If they visit

blog.mysite.com/2010/08/all-about-coding.html?m=0

I would like them to be redirected to something like

newblog.mysite.com/2010/08/all-about-coding.html?m=0

This is the bit that I don't know how to do.

Really appreciate any help.

Thanks,

Nicola