Forced HTTPS with .htaccess: Difference between revisions
Jump to navigation
Jump to search
(Created page with "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): ...") |
(No difference)
|
Latest revision as of 18:12, 3 May 2021
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]