All my wordpress sites so far are like this, I’m fed up with it. The problem is that I provide SSL to my site with cloudflare, if “always use HTTPS” is on, the css files on my site don’t work, if I turn it off, the images don’t show up. When I change http to https from wordpress settings, the site crashes. Can someone help me?
Was the site working with SSL prior to adding it to Cloudflare?
and when I check now, the site is fine on my iPhone, just as I wanted, but on my desktop device, it says it cannot access the site directly and cannot establish a secure connection. It is most likely due to the iPhone, because once I connected to a site that I had definitely told to access via HTTPS via my iPhone, via HTTP, please help.
Might have to use and configure WordPress to work over HTTPS, if you’re using Flexible and Cloudflare goes to HTTP to the server, while the server redirects from HTTP to HTTPS and you’re forcing only HTTPS with such option on Cloudflare.
How about your SSL certificate at the origin host? Was the origin SSL certificate renewed and is it valid?
Please double-check your SSL certificate at the origin host and adjust the SSL/TLS option at Cloudflare dashboard accordingly.
Does it work fine over HTTPS with a valid SSL certificate once Cloudflare is Paused temporary?
Use the “Pause Cloudflare on Site” option from the Overview tab for your domain at dash.cloudflare.com .
The link is in the lower right corner of that page.
Give it five minutes to take effect, then make sure site is working as expected with HTTPS without any error
Check with your hosting provider / Plesk panel / cPanel AutoSSL / Let’s Encrypt / ACME / Certbot and manually click to renew it
Only then, when your website responds over HTTPS, you should un-pause Cloudflare and double-check your SSL/TLS setting to make sure it’s set to Full (Strict).
Now at this moment contact your hosting provider to help you issue the SSL certificate.
You need SSL certificate on the origin host and then change the SSL at Cloudflare dashboard.
If not, then you have to re-configure your WordPress related settings and use some kind of a plugin which would serve and handle HTTP to HTTPS such as Really Simple SSL on the server side, while keeping Flexible SSL option active.
If you don’t fix this, you’d have insecure setup and mixed content errors followed by redirection loops as well.