Originally Posted by Chaos King
Code:
RewriteCond %{HTTP_HOST} !^(www\.|$) [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
So if I make a .htaccess file and put the above code in there, my sites will automatically go from http:// to always
http://www. ?
Because this is something I've tried to figure out for a while, but never got around to doing. I want to do that so it will hopefully improve my PR. That and it's annoying to have the other issue with not being logged in when typing in the other on accident.