This is the problem occurring when I enable SSL, website is running perfectly with HTTP.
I have contacted with hosting provider they told that its Cloudflare ip issue, i dont know what to do.
Switch your SSL to Flexible instead of Full.
In order to resolve the issue, you need to do two things
- Switch to flexible SSL
- fix redirect loop via below code
define('FORCE_SSL_ADMIN', true); // in some setups HTTP_X_FORWARDED_PROTO might contain // a comma-separated list e.g. http,https // so check for https existence if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false) $_SERVER['HTTPS']='on';
Hopefully, this should be resolved.
@sdayman I always cringe when I come across that
@techyhacks0 If it is an IP issue they might have changed your IP and you will need to update the IP address in your Cloudflare control panel. However, considering you said it only started with HTTPS their response is most likely incorrect and the issue is rather that you host has not enabled HTTPS on their end.
Even though I agree with sdayman that switching the mode would most likely temporarily fix it, I’d strongly advise against switching to Flexible mode as that would basically render the encryption useless. Your host simply needs to enable HTTPS for your site.
thank you guys for your suggestion, it is automatically fixed now
And that’s why I always enjoy suggesting that.
*snort* “Simply” he says. Yes, easy for the hosts…but they’d rather charge for it or just make it difficult/impossible to do.
p.s. I just discovered I can escape a * by putting a \ in front of it. Now it won’t trigger italics if I put a \ in front of the first *
I know … I know
I do often say “simply” but only if the thing actually is simple. Of course if another party is making it deliberately difficult it is another story. But to be honest, if a host attempts to be dishonest I’d strongly advise to change that very host. People stick to sucky service providers way too often IMHO. Be that banks, phone providers, webhosts, etc. Merchants typically learn only one way
This topic was automatically closed after 30 days. New replies are no longer allowed.