RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # php -- BEGIN cPanel-generated handler, do not edit # This domain inherits the “PHP” package. # php -- END cPanel-generated handler, do not edit