RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*) https://www.ville-saint-benoit.fr/$1 [QSA,L,R=301]