How do I fix the Too many redirect error with Cloudflare?

Procédure

How does SSL work on Cloudflare?

Cloudflare has several different options for configuring SSL. The configuration depends mainly on the configuration of your web hosting. An incorrect configuration can lead to the error"Too many redirects" which indicates that a redirection loop has been set up during configuration.

What are the three SSL options on Cloudflare?

The three SSL configuration options on Cloudflare are as follows:

  • Flexible SSL: This option defines that all traffic between the browser and Cloudflare is encrypted using SSL. By enabling this feature, you will also define that all requests between Cloudflare and the server hosting your website are unencrypted (HTTP).
  • Full SSL: Traffic between Cloudflare and the server hosting your site will be HTTPS only.
  • Full SSL (Strict): This is the same as Full SSL.

Full SSL and Full SSL (Strict) should only be used when SSL is active on your LWS customer space.

What is the Too Many Redirect error?

The Too Many redirect error indicates a redirection loop. If the origin server is configured to redirect your requests from HTTP (insecure) to HTTPS (secure) and Cloudflare is configured with the "Flexible SSL" option, it expects to receive HTTP traffic. Cloudflare will therefore return the same request and cause a redirection loop.

The problem will be similar if no SSL is active on your LWS client space but you activate"Full SSL" or"Full SSL Strict" on your Cloudflare configuration.

You should therefore set up the following configuration:

  • Flexible SSL: Only activated if no certificate is installed and no redirection is made on your LWS client interface.
  • Full SSL and Full SSL (Strict): are only set up on your configuration if an SSL certificate is also installed on your website.

How do I change the SSL configuration on Cloudflare?

1. Connect to your Cloudflare interface by going to https://dash.cloudflare.com

How do I fix the Too many redirect error with Cloudflare?

2. Click on the domain name concerned by the configuration.

How do I fix the Too many redirect error with Cloudflare?

3. Click on the"Crypto" button in the menu at the top of the page.

How do I fix the Too many redirect error with Cloudflare?

4. change the value in the SSL drop-down window as required.

How do I fix the Too many redirect error with Cloudflare?

Conclusion

You now know the difference between the different SSL options on Cloudflare. You also now know how to solve the"Too many redirects" problem. This error indicates that a redirect loop has been set up when configuring your SSL certificate on Cloudflare.

Rate this article :

This article was useful to you ?

Article utileYes

Article non utileNo

Vous souhaitez nous laisser un commentaire concernant cet article ?

Si cela concerne une erreur dans la documentation ou un manque d'informations, n'hésitez pas à nous en faire part depuis le formulaire.

Pour toute question non liée à cette documentation ou problème technique sur l'un de vos services, contactez le support commercial ou le support technique

MerciMerci ! N'hésitez pas à poser des questions sur nos documentations si vous souhaitez plus d'informations et nous aider à les améliorer.


Vous avez noté 0 étoile(s)

Similar articles

0mn reading

Cloudflare Error 524 : A timeout occured

3mn reading

How to correct a 500 error on your site with LWS Panel

10mn reading

How do I correct HTTP error codes?

0mn reading

404 error, what it is and how to correct it


Ask the LWS team and its community a question