Posted By

tylerhall on 10/03/07


htaccess ssl https

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


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 ^(.*)$$1 [R,L]

Report this snippet  

You need to login to post a comment.