Redirecting from www.host.com to host.com in .htaccess?

This will redirect from yoursite.com to yoursite.com : Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} . RewriteCond %{HTTP_HOST}! ^yoursite\.

Com RewriteRule (.*) yoursite.com/$1 R=301, L And this is the reverse: Options +FollowSymlinks RewriteEngine On RewriteCond %{http_host} ^yoursite. Com NC RewriteRule ^(.*)$ yoursite.com/$1 R=301,L The above is what I use on my server, and it works perfectly.

This will redirect from yoursite.com to yoursite.com: Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} . RewriteCond %{HTTP_HOST}! ^yoursite\.

Com RewriteRule (.*) yoursite.com/$1 R=301, L And this is the reverse: Options +FollowSymlinks RewriteEngine On RewriteCond %{http_host} ^yoursite. Com NC RewriteRule ^(.*)$ yoursite.com/$1 R=301,L The above is what I use on my server, and it works perfectly.

I'm not sure if these would work. I want any other subdomain to work, for example test.yoursite. Com should remain the same, only yoursite.com needs to be stripped – BusterX May 6 at 20:42.

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