RewriteEngine On RewriteCond %{HTTPS} off [NC] RewriteRule (.*) https://www.drevoprodej-benes.cz%{REQUEST_URI} [L,R=301,QSA]