/ Published in: Apache

Domain ambiguous way of forcing www with htaccess
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# Force www RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
Comments
