[code lang=”c”]
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]
[/code]

Categories: ContentGeneral

Leave a Reply

Your email address will not be published. Required fields are marked *