Hey everyone,
Trying to ensure HTTPS://mywebsite.com is served instead of HTTP. My webhost said to include the following lines of code in the .htaccess file.
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
They also said also this forces directly linked resources (images, css, etc.) to use https:
Where in this file do I place this code and do I need to remove or uncomment any code?
Just making sure Chevereto does not have its own way of defaulting to HTTPS.
Thanks!
Trying to ensure HTTPS://mywebsite.com is served instead of HTTP. My webhost said to include the following lines of code in the .htaccess file.
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
They also said also this forces directly linked resources (images, css, etc.) to use https:
Where in this file do I place this code and do I need to remove or uncomment any code?
Just making sure Chevereto does not have its own way of defaulting to HTTPS.
Thanks!