Vily
July 25, 2021, 6:44am
#1
Wordpress advises, if you have an SSL certificate, change the 2 paths in the settings from http to https
but if I do this and disable Cloudflare, then I get circular redirects and the site is unavailable
can i leave the settings for wordpress - http?
or does it create a load, forcing Cloudflare to constantly redirect everything and everything to https?
what do you advise?
fritex
July 25, 2021, 12:46pm
#2
Meaning, you do not have a proper and valid SSL certificate installed at your host origin/server, and using the Cloudflare on Flexbile SSL instad of Full (Strict).
This is the one reason what happens as described on the article(s) below:
Flexible
The connection between your visitor and Cloudflare is secured, but the connection between Cloudflare and your server is not. You will not need a certificate on your server for this mode. This option is NOT RECOMMENDED.
Flexible makes your site only partially secure - it encrypts the connection between the visitor and Cloudflare - this means they see the in their browser and the site leaves the impression to be secure! However the connection between Cloudflare and your origin seâŚ
Error
Try the suggestions in this Community Tip to help you fix ERR TOO MANY REDIRECTS.
Background
If your SSL setting on the SSL/TLS app is Flexible and if your origin server is configured to redirect HTTP requests to HTTPS, server responses back to Cloudflare are encrypted. Since Cloudflare is expecting HTTP traffic, it keeps resending the same request, resulting in a redirect loop. This causes browsers to display âThe page isnât redirecting properlyâ or âERR_TOO_MANY_REDIRECTSâ errors.
QuâŚ
Kindly, if you already havenât, check the below article how to propperly setup SSL with Cloudflare for your domain:
This tutorial covers getting SSL working with Cloudflare in various different scenarios.
This assumes you already have your website set up on Cloudflare with all your DNS records set to , if not - please visit Step 1 .
Do you want the website to use HTTPS?
Yes Do you already have a valid SSL certificate installed on your server (i.e. does it already load over HTTPS with a )?
Yes
If your website already works over HTTPS, you can just set your SSL mode in Cloudflare to Full (strict)âŚ
Therefore, if you have a valid SSL certificate and already installed it at your host origin/server for your domain, kindly switch the SSL options on the SSL/TLS tab to Full (Strict)
.
Available SSL options at Cloudflare are here:
SSL/TLS Configuration Video:
This tutorial covers basic settings in the SSL/TLS app of the Cloudflare Dashboard, including SSL Mode [Off/Flexible/Full/Full (Strict)], Cloudflare Origin Certificates, âAlways Use HTTPSâ and âAutomatic HTTPS Rewritesâ.
The settings covered here can all be found by visiting Cloudflare.com , logging in, selecting the domain and choosing the SSL/TLS app .
[SSL:TLS Button]
SSL Modes
[|717px;x331px;]
Off
The connection between your visitor and Cloudflare and ClouâŚ
If any other issues occur, follow the needed steps for troubleshooting from article below:
SSL/TLS Configuration Video:
This tutorial covers basic settings in the SSL/TLS app of the Cloudflare Dashboard, including SSL Mode [Off/Flexible/Full/Full (Strict)], Cloudflare Origin Certificates, âAlways Use HTTPSâ and âAutomatic HTTPS Rewritesâ.
The settings covered here can all be found by visiting Cloudflare.com , logging in, selecting the domain and choosing the SSL/TLS app .
[SSL:TLS Button]
SSL Modes
[|717px;x331px;]
Off
The connection between your visitor and Cloudflare and ClouâŚ
If you want to use Cloudflare SSL, kindly make sure you follow the instructions as follows on the below article to setup an SSL certificate using Cloudflare CA Origin Certificate:
Vily:
wordpress - http
Even if you are using Flexible SSL, which is causing issues, you should switch the settings to HTTPS prefix.
Other things to check are the Always use HTTPS
and Automatic HTTPS Redirection
options, if they both or one of them is enabled for your domain at Cloudflare dashboard.
The âAlways Use HTTPSâ feature will redirect all http requests for your site to your https address.
The Auto Rewrites changes the links on your site to be HTTPS if Cloudflare knows the destination supports HTTPS.
https://support.cloudflare.com/hc/en-us/articles/227227647-How-do-I-use-Automatic-HTTPS-Rewrites-
1 Like
Vily
July 25, 2021, 2:06pm
#3
no need to change anything, the Wordpress settings must be https, since the domain must have a permanent full gluing
system
closed
July 28, 2021, 3:31pm
#4
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.