Landing page redirects gmetrix

Hi!
I get this “error” when I analyze my site with gmetrix:

Avoid landing page redirects for the following chain of redirected URLs.

http://example.com/
https://example.com/
https://www.example.com/

What does that mean, and how do i solve that? I have my domain with namecheap and hosting with netlify. Would appreciate all the help i can get. Also please try to explain In laymen terms since I have very low experience in deploying domain/hosting etc.

Assuming that your site is otherwise working correctly, I would not be too concerned about this. Netlify’s redirect engine avoids excessive chaining, so the error you mentioned is probably a false positive.

You can read more in the blog post below.

I have the same issue with our site jexia.com.

“Avoid landing page redirects for the following chain of redirected URLs.”

Its not a false positive as even in the developer toolbar this issue is present.

How can we handle/fix this?

Hi, @Reinos. There will always be a redirect from HTTP to HTTPS with Netlify as we enforce SSL on all sites at Netlify. There is no way to avoid that redirect other than to not use Netlify for your site.

For the redirect of https://jexia.com/en/ to https://www.jexia.com/en/, this redirect is because www.jexia.com is set as the site’s primary domain. To change this, click on the “…” to the right of jexia.com here:

And then click “Set as primary domain”. This will redirect www.jexia.com to jexia.com instead of the other way around.

If there are other questions about this, please let us know.