More information about the Underscore mailing list

[_] Non www to www

Jason Taverner jason.taverner1 at btinternet.com
Fri Dec 18 10:59:20 GMT 2009

Hi [_]

I've found myself trying to work out why the htaccess file in a  
clients Drupal installation is not redirecting non www addresses to  
the www versions.

I've uncommented the lines below from the htaccess file but its not  
making any difference. Could this be being overridden elsewhere? Am I  
being a nutmeg?
RewriteCond %{HTTP_HOST} ^foo.co.uk [NC]
RewriteRule ^(.*)$ http://www.foo.co.uk/$1 [L,R=301]
Oh, and a Merry Christmas to one and all!