Knowledgebase: Web Hosting Related
How do I redirect HTTP traffic to HTTPS using an .htaccess file?
Posted by Support on 31 March 2015 04:24 PM

Add the following below to the /html/.htaccess file and it will automatically redirect any traffic destined for http: to https:

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

(0 vote(s))
Not helpful