Redirect loops happen with Cloudflare when SSL is disabled or in flexible mode in Cloudflare and forced on your website by a .htaccess and your control panel, or the opposite, when SSL is forced by Cloudflare but not on your website. You have to enable or disable SSL on both of them.

Well-known member

I got same problem when using flexible mode in Cloudflare. Why that causes an error when using SSL with Cloudflare? I see in Cloudflare it has full and full strict mode, what is the difference between them? which one should I use?

Global Mod

Flexible mode provide the ability to use SSL on your website even if the origin web server do not support SSL/TLS. With this mode, data are only encrypted between the visitor web browser and Cloudflare servers.
But if there is a http to https redirection on your server, it will create a redirect loop because the Cloudflare servers do not expect a connection with SSL / TLS and they will still be redirected to an https address.Redirect loop : HTTP -> HTTPS -> HTTP

That's why you have to use the mode full if your website is secured with a SSL Certificate (and you want to use https everywhere)
The full (strict) mode is the same than full, but require a valid SSL certificate signed by a Certificate Authorithy (it can be Let's Encrypt, Comodo, DigiCert etc...) when you can use a self-signed certificate with the mode full.

About Us

ForumWeb.Hosting is a web hosting forum where you’ll find in-depth discussions and resources to help you find the best hosting providers for your websites or how to manage your hosting whether you are new or experienced. You’ll find it all here. With topics ranging from web hosting, internet marketing, search engine optimization, social networking, make money online, affiliate marketing as well as hands-on technical support for web design, programming and more. We are a growing community of like-minded people that is keen to help and support each other with ambitions and online endeavors. Learn and grow, make friends and contacts for life.