Wp-admin firewall settings gives me Error 1020

I followed the firewall settings as explained here: https://turbofuture.com/internet/Cloudflare-Firewall-Rules-for-Securing-WordPress
Now I get the Error 1020 on my wp-admin page
What is going wrong?

You’ve blocked yourself. That 1020 page should show you your IP address. Make sure that IP address is whitelisted in Firwall -> Tools. I think the tutorial mentioned that. If you post a screenshot of your actual firewall settings, we can take a closer look at what’s going on.

You can also take a look at the Firewall Events Log to see why the Block action happened.


I added the IP6 version, seems to work now.

1 Like

I checked my cache, I contacted my hosting support, I checked the CF forum,
I was pointed to CF image blocking
I get

Error 1020

For these two images

other subsites of my multisite are displaying the picture well

How can this be solved?

Hi @renaat,

You should be able to find the blocks in the firewall events log to see what caused them.

More detail at:

1 Like

Thanks for the Community Tip

Since it looked like random behavior of CF firewall rules blocking specific things in my WordPress, I did find the Firewall rule that mess up thing.
(http.request.uri.path contains “/wp-content/plugins/” and not http.referer contains “*.” and not cf.client.bot)
The problem is, I see no article talking about how to protect your WP multisite network. Since the CF firewall rule on the mapped domain was not causing issues, but the CF firewall rule on the main site of the network.
Please advise how to keep my multisite network safe with Cloudflare. And what can I do not to have that mentioned main site firewall rule triggered by subsites in the network?
Thanks in advance.

This topic was automatically closed after 30 days. New replies are no longer allowed.