Flexible SSL for CloudFlare


Click For Full Implementation Guide.

Using CloudFlare® Flexible SSL on WordPress isn’t as simple as just turning it on.

This plugin forms an integral part to enabling Flexible SSL on WordPress and prevents infinite redirect loops when loading WordPress sites under Cloudflare’s Flexible SSL system.

Cloudflare is a registered trademark of Cloudflare, Inc.

One Dollar Plugin is not affiliated in any way with Cloudflare, Inc. This plugin provided separately and completely independently.

Remember: This plugin is just part of the installation process for Flexible SSL. Please follow the full guide


For full installation instructions, please review the following article: Installation Instructions.

= 1.3.1

UPDATED: Adjusting plugin naming for Trademark woes.


UPDATED: Update supported WordPress version to 5.1.
CHANGED: Code adjustments to only process Flexible SSL in the case where it’s not already SSL.


UPDATED: Supported WordPress Version to v4.5


Does this plugin affect non-SSL traffic?

No. It only comes into play when Cloudflare is serving HTTPS traffic from your site.

Should I change my WordPress Site URL to HTTPS?

No — there is no need. Use Cloudflare’s pages rules to redirect your visitors. You can then safely turn off SSL whenever you want from within Cloudflare and your WordPress site will still load on HTTP.

What happens if I disable this plugin AFTER enabling Flexible SSL on Cloudflare?

Your WordPress site will not load on HTTPS/SSL. You will create an infinite loop loading problem and the only way to solve this is to turn off SSL redirects within Cloudflare.

Does I need this plugin if I use Cloudflare FULL or Strict SSL?

No. It is designed only to assist with Flexible SSL.


20 Հունիսի, 2024 1 reply
I dont really understand the problem, because it should redirect loop the whole time, but it doesnt, only on some parts in backend and some problems with plugins. But anyway, this plugin is the solution, CRAZY? and for free. Respekt. Thank you very much! You saved my life!
12 Սեպտեմբերի, 2023
i do not really know why. i just wanted to move my site from webspace a to webspace b. so i did that, changed the IPs in DNS settings of cloudflare and voila i was suddenly trapped in an infinite redirection loop. for some reason my webspace b provider does not allow me to acitvate ssl on the domain. i stumpled upon this plugin which seems to fix my issue. so thank you! but i have to admit i still do not understand whats going on 😉
20 Օգոստոսի, 2020
soluciono mi problema <3 fantastico plugin no se ingles jaja xd
Read all 49 reviews

Contributors & Developers

“Flexible SSL for CloudFlare” is open source software. The following people have contributed to this plugin.




FIXED: Checking to ensure certain data types


ADDED: The plugin will try to set itself to load first, before all other plugins.


UPDATED: Supported WordPress Version
UPDATED: Also works for any standard SSL Proxy scenario that uses HTTP_X_FORWARDED_PROTO — it doesn’t have to Cloudflare


First Release