Forcing the www prefix with PHP/htaccess/mod_rewrite?

Rewritecond %{HTTP_HOST}! Www.domain. Com RewriteRule ^/(.*)$ domain.com/$1" rel="nofollow">domain.com/$1 R=301 or maybe RewriteCond %{HTTP_HOST}!

^ RewriteRule ^/(.*)$ http:// %{HTTP_HOST}/$1 R=301.

It doesn't appear to work, as the site sits in a subdomain on the server. Is there a way to make it global? – DCD Mar 27 '10 at 2:08 @DCD, see update.

If that isn't what you mean perhaps you can update your question with some more information? – jasonbar Mar 27 '10 at 2:14.

RewriteRule ^/(.*)$ http://www. Terms of service. Not the answer you're looking for?

Browse other questions tagged php apache . Or ask your own question.

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