HOW TO FIX SSL On WORDPRESS

Hi, I Use TokanWeb for Cloud Hosting
Also my DNS record is on Cloudflare
I have Problem On flexible SSL
My Wordpress is Looping Redirect (too many redirect )

Hi @baratabletam, and welcome to the LE community forum :slight_smile:

"too many redirect" is usually due to the CDN connecting to your server via HTTP.
Here is what happens:

  • client makes an HTTP request
  • CDN redirects them to HTTPS
  • client makes an HTTPS request
  • CDN tries to get content from your server via HTTP
  • your server redirects that HTTP request to HTTPS
  • CDN replies to client "you must connect to HTTPS"
  • client makes an HTTPS request
  • CDN tries to get content from your server via HTTP
  • your server redirects that HTTP request to HTTPS
  • CDN replies to client "you must connect to HTTPS"
  • client makes an HTTPS request
  • CDN tries to get content from your server via HTTP
  • your server redirects that HTTP request to HTTPS
  • CDN replies to client "you must connect to HTTPS"
  • client makes an HTTPS request
  • CDN tries to get content from your server via HTTP
  • your server redirects that HTTP request to HTTPS
  • CDN replies to client "you must connect to HTTPS"
    ...

Do you see the problem?

4 Likes

Don't use that. It is deliberately insecure and, as you have discovered, frequently causes redirect loops. Only use Full (strict).

https://community.cloudflare.com/t/why-you-should-choose-full-strict-and-only-full-strict/286652

5 Likes