How to force the visitors to open a secured connection ?

To force the visitors to open a secured connection you need to use rewrite rules in the main .htaccess file of the account:


RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

  • SSL, SSL AUTO-REDIRECT, REDIRECT
  • 22 Users Found This Useful
Was this answer helpful?