URL rewriting verso https
RewriteEngine On
RewriteCond %{SERVER_PORT} !443
RewriteRule ^/(.*)$ https://domain.com/$1 [R=301,L]
my technical writings
RewriteEngine On
RewriteCond %{SERVER_PORT} !443
RewriteRule ^/(.*)$ https://domain.com/$1 [R=301,L]