OS Web

.htaccess redirect http to https

 April 20, 2017     0 Comments

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

Add the above code to the top of your .htaccess file redirect all http traffic to https

How helpful was this article to you?

Posting has been disabled.
Powered by