Blocking all pages on the site

What is the name of the domain?

paid.co.il

What is the issue you’re encountering

Blocking all pages on the site

What steps have you taken to resolve the issue?

Hi guys, so my problem is this:

I want to create a rule that when someone goes to the wp-admin path or another path
So it will be blocked forever or for a certain time both in wp-admin and in all other pages.
The intention is that as soon as he accesses a path that in my view is suspicious then he will be completely blocked from accessing the site

I was unable to do this using custom rules
Would appreciate help

Apart from rate limiting, the WAF is stateless so evaluates each request in isolation. If you want some logic as you described you will need to implement something on your origin or by using a worker that detects the wp-admin request and updates the WAF (or a list used by the WAF) using the Cloudflare API.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.