All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
ERR_TOO_MANY_REDIRECTS - wordpress, SSL, cloudflare.com
Hello,
I have a Wordpress site that runs on cPanel. I enabled let's encrypt.
I disabled all plugins except
It works fine
If I pass, cloudflare of "DNS Only" to "DNS and HTTP proxy," I can not access my site:
ERR_TOO_MANY_REDIRECTS
I tested with pingdom tools, I have the same problem.
Just as I pass in "DNS only", and wait 5 minutes and it works.
Here is my .htaccess
BEGIN rlrssslReallySimpleSSL rsssl_version[2.3.3]
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} !on
RewriteRule ^(.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]END rlrssslReallySimpleSSL
BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
END WordPress
I'm with other sites I have not had any problems.
Do you have an idea to help me?
Comments
Look like you don't really understand how Cloudflare SSL works.
Client -> CF SSL -> your site HTTP (yes, only HTTP)
With your activated letsencrypt and that plugin, it become like this:
Client -> your site HTTP -> force redirect to https -> your site HTTPS
and if you activate CF SSL:
Client -> CF SSL - > your site HTTP -> force redirect to https -> CF SSL -> your site HTTP... and the loop go on.
The only way for CF SSL -> your site HTTPS is getting cloudflare Paid plans.
If you want to use free, only CF SSL or letsencrypt.
I do not understand why you said that I use SSL cloudflare.
I use only let's encrypt. I already do for many here, I have never had this problem.
Cloudflare proxy meaning that your traffic will have to pass through cloudflare server and then go to your http (only http, and if you want https, you will have to use paid plans) - the same idea as CF SSL even if you use it or not.
In a simpler quote: use CF for DNS only if you want to use letsencrypt.
I hate to disagree...
Just.go to cloudflare and set SSL to full...I beleive Its the third option...and yes free customers can access it now...
And why the error is occurring ...because of an infinite loop...as explained earlier
@Webinium
kindly check if you have wordpress installed as https://......
and also setup a web-redirection in cpanel for websites to redirect all to www.... or https://....
if so, kindly remove/disable the redirection in cpanel
by the way your .htaccess shows that...
do report back if this works...
Didn't notice it...
@Webinium you can try go to Crypto tab, switch SSL to Full from Flexible and CF SSL will point to your HTTPS.
You need Cloudflare SSl Wordpress plugin
https://wordpress.org/plugins/cloudflare-flexible-ssl/
Confirmed the plugin would fix the problem.
I just want to say, Thank you noaman, very much!
Np :-)