Use htaccess to redirect all traffic from root to specific subdomain page?

You have to specify the query in the replacement to override the original: RewriteCond %{HTTP_HOST}! ^blog\. Example\.

Org$ NC RewriteRule ^ blog.example.org/index.php? R=301,L.

Makes sense. Tried it and it works like a champ. – user65810 Feb 13 '09 at 18:51.

RewriteEngine On Options +FollowSymlinks RewriteCond %{HTTP_HOST} ^(www\. )? Foo\.

Org$ NC RewriteRule ^ blog.foo.org/ R=301,L.

I had a blog on a subdomain for some time. I have decided to do away with the main site and just support the blog subdomain. I have a redirect setup for this, but it carries all the extra parameters through to the blog which results in a file not found page appearing.

I just want the redirect to go to the index page without parameters. What I currently have in my .

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions