SSL Redirect

Rewrite: http to https


You’ve purchased an SSL Certificate for your website but now you need to point all instances of http to https.

Options -Indexes

RewriteEngine on

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]



Please share if you find the content useful - thank you

Master Template World


Master Template Forum Robot


Have a comment or something to say?
Say it here…

[privacy policy]