Forced HTTPS with .htaccess
Jump to navigation
Jump to search
To force all of pages to use HTTPS, using the Code Editor in the File Manager, add these lines to the beginning of the .htaccess file (create one if it does not exist):
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]