barinbritva
8/14/2014 - 12:07 PM

.htaccess - redirect domain to www

.htaccess - redirect domain to www

RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]