Flexible SSL Mode Fatal Mistake: ERR_TOO_MANY_REDIRECTS

Seeing a browser error "ERR_TOO_MANY_REDIRECTS"The first thing that comes to mind is a plugin conflict, a caching issue, or a WordPress setup error. But often the culprit is the seemingly convenient "Flexible Encryption" of Flexible SSL Mode.

This article will take you on a deep dive into why the Flexible mode raises ERR_TOO_MANY_REDIRECTS and how to resolve the issues it causes in the right way.

Image [1]-ERR_TOO_MANY_REDIRECTS Solution: Flexible SSL Mode Fatal Mistakes and Fixes

What is Flexible SSL Mode?

Accessing the website Cloudflare After that, it will provide four encryption modes:

  1. Off: No encryption
  2. Flexible: HTTPS from browser to Cloudflare, HTTP from Cloudflare to server
  3. Full: HTTPS is used on both the front and back end, but server certificates are not verified
  4. Full (Strict): HTTPS on both the front and back ends, and validate the server's valid certificate
Cloudflare's four encryption modes

The essence of the Flexible model:

The user sees HTTPS, but there is plaintext HTTP between Cloudflare and the source.

Does this sound like the "best choice for free SSL"? Wrong. This model has serious pitfalls for sites using WordPress or WooCommerce.

II:How does Flexible SSL trigger ERR_TOO_MANY_REDIRECTS?

WordPress via $_SERVER['HTTPS'] Determine whether the current connection is secure (i.e., HTTPS). But in Flexible mode:

  • Browser request is HTTPS (Cloudflare receives it as HTTPS)
  • Cloudflare forwards to the source as HTTP (the source receives it as HTTP)

So, WordPress mistakenly thinks the current connection is Insecure HTTPThe first step in the process is to force a jump to HTTPS -- which in turn is converted by Cloudflare to HTTP and sent back to the source site, creating aInfinite loop jumpThis is the case when the user's browser reports an error. This situation causes the user's browser to report an error directlyERR_TOO_MANY_REDIRECTS

Three: to determine whether the site in the Flexible "trap"

You can tell if you are using Flexible and experiencing a dead loop by doing the following:

  • Websites are accessible when not logged in and redirect infinitely once in the backend or on certain pages
 ERR_TOO_MANY_REDIRECTS Interface
  • Site back to normal after Cloudflare shutdown
  • WordPress Enabled https:// address, but no real SSL certificate is deployed on the server
SSL Certificate
  • Cloudflare SSL/TLS mode is "Flexible"

IV: Correct Solution: Switch from Flexible to Full or Full (Strict)

Step 1: Deployment at the server SSL Certificate

Recommended Practice:

Cloudflare → SSL/TLS → Origin Server → Create Certificate and Deploy to Hosts

Step 2: Toggle Encryption Mode to Full or Full (Strict)

Go to the Cloudflare backend:

  • Open Site Settings
  • strike (on the keyboard) SSL/TLS → Overview
  • Change the encryption mode from Flexible change into Full maybe Full (Strict)

Full (recommended): for sites that have not purchased a commercial certificate
Full (Strict): Suitable for sites with valid certificates (e.g. Let's Encrypt) configured.

Cloudflare's four encryption modes

Step 3: Ensure that WordPress The address is correct.

In the WordPress backend → Settings → General, make sure:

Image [6]-ERR_TOO_MANY_REDIRECTS Solution: Flexible SSL Mode Fatal Mistakes and Fixes
  • WordPress Address (URL):https://www.361sale.com
  • Site address (URL):https://www.361sale.com

Step 4: Clearing the Cache

V: Summary: Why is the Flexible pattern not recommended?

  • Low security: plaintext transfer between Cloudflare and the server
  • Easy to cause jump conflicts: especially WordPress judgment protocols rely on server variables
  • not conducive SEO: Google recommends using HTTPS for the entire site, as plaintext transfers can cause crawl failures.
  • Poor plugin compatibility: WooCommerce, membership systems, payments and other scenarios are prone to triggering circular redirects

proper practice: Configure real SSL certificate → switch to Full (Strict) mode → clear cache → maintain URL consistency.


Contact Us
Can't read the tutorial? Contact us for a free answer! Free help for personal, small business sites!
Customer Service
Customer Service
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: info@361sale.com
Working hours: Monday to Friday, 9:30-18:30, holidays off
© Reprint statement
Author: liuyan
THE END
If you like it, support it.
kudos65 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments