RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
To force the visitors to open a secured connection you need to use rewrite rules in the main .htaccess file of the account:
- SSL, SSL AUTO-REDIRECT, REDIRECT
- 22 Users Found This Useful