Eu tenho o seguinte código htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond !{HTTPS} off
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
Quero que meu site seja redirecionado para https://www.HTTPS e imponha o www.subdomínio, mas quando eu acesso http://www.(sem HTTPS), ele não me redireciona para https://wwwHTTPS.
RewriteCond %{HTTPS} =off