What is the name of the domain?
What is the error number?
none
What is the error message?
none
What is the issue you’re encountering
I want to block all requests that target non existing plugin/directories and only allow requests to plugin directories that I include in this expression. The problem is that even though I added a “/*” legit requests to subfolders of specified allowlisted directories get blocked.
What steps have you taken to resolve the issue?
This is the current expression I’m using
(http.request.uri contains “/wp-content/plugins/” and not (
http.request.uri contains “/wp-content/plugins/better-search-replace/" or
http.request.uri contains "/wp-content/plugins/perfmatters/” or
http.request.uri contains “/wp-content/plugins/query-monitor/" or
/”
))
BLOCK
===
But requests to /wp-content/plugins/perfmatters/assets/images/ get blocked as well. Any idea where I got that expression wrong?