Shorten the redirect chain on Cloudflare
Why it matters
The page is reached only after more redirects than our scanner follows (5), and each hop adds a round trip for visitors and crawlers. Usually http, www, a trailing slash and a language prefix are each redirected in a separate step; send the first request straight to the final address.
The fix
- Turn on Always Use HTTPS (SSL/TLS, Edge Certificates) so http goes to https in one hop at the edge.
- Check Rules, Overview for Redirect Rules or Page Rules that send the same request on to a second address, and make each rule redirect to the final address directly.
Related
- Reported by the HTTP to HTTPS redirect check
- Serve the site over HTTPS
- Stop redirecting HTTPS to HTTP
- Redirect HTTP to HTTPS
- Fix the broken HTTPS redirect chain
- Fix the HTTP redirect chain
- Redirect HTTP straight to HTTPS
- Answer HTTP with a redirect to HTTPS
- Redirect www and apex to one host
- Make the www or apex name work over HTTPS
Scan your domain to see whether this applies to you.