Hello, I was testing my website here https://hstspreload.org and I got this error:
`Error: HTTP redirects to www first`
`http :// domain (HTTP) should immediately redirect to https :// domain (HTTPS) before adding the www subdomain. Right now, the first redirect is to https :// www.domain. The extra redirect is required to ensure that any browser which supports HSTS will record the HSTS entry for the top level domain, not just the subdomain.`
As far as I can understand, the redirect, to be valid, should be done this way:
1. http :// domain
2. https :// domain
3. https // www.domain
Now: by default, OVH redirects both the first and the second to www.
Is there any way to redirect to the second before www is loaded?
Any help is appreciated
Web Hosting - HSTS or how to redirect domain http://domain to https://domain before https://www.domai
Related questions
- Update MySQL Version
11932
14.02.2018 03:27
- How do I limit upload_max_filesize? PHP.ini method not working
11624
06.12.2022 11:02
- Max_execution_time how to increase time
11554
24.01.2021 17:14
- Connect to mysql database
11339
28.02.2018 16:52
- I can't login to my account. Reset password don't help
10948
25.02.2020 22:06
- Cannot put SSL on my domain
10469
03.04.2019 19:20
- Layer 7 DDoS protection on Web hosting
10308
17.08.2025 13:59
- Abuse Report not working
9744
27.03.2025 07:45
- How do I get rid of the default 'site under construction' page?
9479
27.10.2022 14:35
- Trying to connect my OVH domain to shopify store
8762
13.06.2021 22:43