Back

http to https and 301 redirect (IMT)

Copy Below Code View As A Text File Show Text Only Show API Edit Code
                            

RewriteCond %{HTTPS} off RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{HTTP_HOST} !^www\. RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]