RewriteEngine On
RewriteCond %{SERVER_PORT} !443
RewriteRule ^(.*)$ <a href="https://www.domain.com/$1" >https://www.domain.com/$1</a> [R,L]
Force SSL HTTPS Connections
Leave a Reply
You must be logged in to post a comment.