Posted By

tylerhall on 10/03/07


Tagged

htaccess ssl https


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

wizard04


Force SSL HTTPS Connections


 / Published in: Other
 

Adding these rules to your .htaccess file will force visitors to use https

  1. RewriteEngine On
  2. RewriteCond %{SERVER_PORT} !443
  3. RewriteRule ^(.*)$ https://www.domain.com/$1 [R,L]

Report this snippet  

You need to login to post a comment.