On several WordPress websites, when using CloudFlare Flexible SSL, I’ve been unable to login to view my WordPress dashboard. Some of the websites have had one or all of the following plugins installed (in addition to other plugins):
When I try to login to the dashboard using my username and password and click the login button, it appears that nothing happens and I need to enter my login details again.
example.com/wp-login*
and set the rule with SSL set to Off.
You’ll now be able to login to your WordPress Dashboard
Great article! I used the tip and now login is working. However, I am having issues with adding products into shopping cart… When I’m logged out and visit the product page, and add a product to cart, nothing happens. What do I need to change? I was “this close” from dropping CloudFlare altogether, but I found this site!
You really ought to mention that this should only be a temporary workaround until you figure out why login isn’t working.
For many people, protecting /wp-admin/ is the prevailing reason to implement SSL/TLS in the first place. Disabling it defeats the entire purpose!
Since I wrote this article over a year and a half ago this problem seems to have been largely addressed by CloudFlare. Also, the only plugin that is now needed to have CloudFlare deliver WordPress websites via HTTPs is the official CloudFlare plugin.
You are correct that disabling SSL should be a temporary solution but I haven’t heard of any WordPress sites being hacked due to HTTPs not being enabled for /wp-admin
I have done this, but still I am not able to open website neither login dashboard
Can you help me with this i am not able to log in also not able to do lost password please help me and also help me to add free ssl to subdomains
Didn’t work for me. I can now get to the WP login screen and type my username and password in, but when I click the Login button I’m taken to a 520 error page. Web server is returning an unknown error.
Hi, try to set Page Rule in Cloudflare and set patern url http://*domain/wp-admin/* then Login again
Hello,
I used you suggestion above, but i am facing a strange behaviour, maybe cause of the them or other plugins. But please suggest
On admin panel I am unable to login if i have
domainname.com/wp-admin/* in cloudflare page rule set to ‘ON’
Once i am logged in, I cant access admin panel if the above rule is ‘OFF’
Hence to work I had to first deactivate page rule, and after login have to reactivate it.
And I am never able to logout
it gives
https://domainname/wp-login.php?action=logout&_wpnonce=7885b2190f&redirect_to=http%3A%2F%2Fdomainname
a 404 page error.
Can you please guide me with it.
Thanks in advance.
Works like charm. Thanks!
It’s old information. But if still happen with you, must Force the HTTPS.
1. First install Cloudflare plugin, I will use https://wordpress.org/plugins/cf-littlebizzy/
2. Next enable Flexible SSL
3. Last is force HTTPS in WordPress: https://wordpress.org/plugins/force-https-littlebizzy
4. Do not choose “Full ssl”
Done —
Hi,
The above steps did not work for me.
I can’t login after enabling cloudflare. Any other steps to take?
Links are dead now Littlebizzy plugins in Github mate
https://github.com/littlebizzy/cloudflare
https://github.com/littlebizzy/force-https