Hi,
I know this is a recurrent issue, but I've tried multiple configurations and support tickets, all without success.
Goal: all HTTP traffic must be redirect to HTTPS
Current State: base domains %{SERVER_NAME}.com and www.%{SERVER_NAME}.com are successfully redirected to HTTPS, but http://%{SERVER_NAME}.com is not
My current setup is:
- .htaccess:
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R=301,L]
- SSL Gateway enabled. Both www.%{SERVER_NAME} and %{SERVER_NAME} pointing to designated IP address, as IPv4-A OVH redirections
Thanks in advance