If user installed SSL, and wants the entire website redirect from HTTP to HTTPS, users can add the following to .htaccess.

(Before modifying, if there is an existing .htaccess file, remember to backup first)

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Pin It on Pinterest

Share This