(Screenshot below). Is there any way to have http://www go straight to https:// rather than what's currently shown below? Not sure what .htaccess rule it would be to have it all in one.
Current .htaccess file:
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
Header always set Content-Security-Policy "upgrade-insecure-requests;"
RewriteCond %{HTTP_HOST} www.ryder.link
RewriteRule (.*) https://ryder.link/$1 [R=301,L]
Current .htaccess file:
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
Header always set Content-Security-Policy "upgrade-insecure-requests;"
RewriteCond %{HTTP_HOST} www.ryder.link
RewriteRule (.*) https://ryder.link/$1 [R=301,L]
Attachments
-
110.1 KB Views: 9
Last edited: