Cloud Web-old - Redirect http to https
... / Redirect http to https
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Frage

Redirect http to https

Von
ElinaM
Erstellungsdatum 2021-04-21 06:33:13 (edited on 2024-09-04 14:25:32) in Cloud Web-old

Hello, I was testing my website here https://finalratings.com/ 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:

http :// domain
https :// domain
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


Antworten sind derzeit für diese Frage deaktiviert.