steveosoule
1/4/2013 - 1:13 AM

Force WWW On All Pages

Force WWW On All Pages

# FORCE WWW ON ALL PAGES
RewriteCond %{HTTP_HOST} !^www\.(.+)
RewriteCond %{HTTPS}s ^(on(s)|offs)
RewriteRule ^ http%2://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]