<IfModule mod_rewrite.c>RewriteEngine OnRewriteCond %{HTTPS} !=onRewriteCond %{HTTP_HOST} !^www\..+$ [NC]RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]</IfModule>