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?
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
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