Return to Snippet

Revision: 55499
at February 9, 2012 14:01 by klovera


Initial Code
# Force www
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

Initial URL

                                

Initial Description
Domain ambiguous way of forcing www with htaccess

Initial Title
Force www with htaccess

Initial Tags
htaccess

Initial Language
Apache