Home My Account

Redirect all website pages to https

May 18, 2017

cPanel

RewriteEngine On

RewriteCond %{HTTPS} off

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

Tweet