So I’m trying to switch a site over to HTTPS. I’ve set everything up with Cloudflare and I’m able to get the site to be fully secure. However, once it’s secure I’m unable to log in.
Here’s what I’ve tried so far:
- Clearing Cache + Cookies
- Editing site url to https from PHP My Admin
3 Editing site url to https from wp-config.php file
I’ve also tried changing the url to https then switching over on Cloudflare. The key setting that keeps me logged out is turning on Always use HTTPS under the Crypto tag.
Lastly, when I’m unable to log in, what happens is I go to the wp-admin login page, enter username/password and the page just refreshes every time I try and log in.
Has anyone dealt with this before and solved this issue? Is there something I’m missing that I need to do to switch over to https?
If it helps the site I’m working with is:
yup, its a redirect loop,
fyi this happened to me yesterday, I have an origin SSL and use FULL SSL on Cloudflare and it still happened. good luck getting Cloudflare to help however unless youre a paid customer they wont answer a single question about using the product
Are you using Flexible SSL? If so, then that URL in wp-config shouldn’t be HTTPS. And here’s a good plugin to help with running Flexible SSL:
im not sure about the OP but I was using full
Okay, cool. I’ll try this out and get back to you.
you can avoid any issues like this by issuing a free SSL from LetsEncrypt on your origin before building wordpress in the future. 1) its free, 2) it avoids any need to force https because you are encrypted before ever being proxied by Cloudflare
This topic was automatically closed after 30 days. New replies are no longer allowed.