steveosoule
11/30/2012 - 12:33 AM

Force WWW on Non-Secure URLS and Keep Request URI

Force WWW on Non-Secure URLS and Keep Request URI

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