Our blog

 

Htaccess Force SSL with Redirect (Non Standard SSL Port Compatible)

Check out this little snippet of htaccess code to force SSL usage. Works regardless of port.

CODE:
  1. RewriteEngine On
  2. RewriteCond %{HTTPS} off
  3. RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

More...

More Reading:

 

Leave a Reply