# ---------------------------------------------------------------------- # Hacer que todas las URL lleven las www. delante # ---------------------------------------------------------------------- RewriteCond %{HTTPS} !=on RewriteCond %{HTTP_HOST} !^www\..+$ [NC] RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]