WAF Rule to Block wp-login.php

Hi!

I want to block attempts to access wp-login.php but I want to allow users to logout since they’re redirected via wp-login.php witht he query ?action=logout

I’ve created this rule and i’m testing but I keep being blocked. Am i doing something wrong?

Thank you

Try leaving the question mark out, like they show in the example.

1 Like

Thank you for the quick answer @sdayman but still not working.
I’ve used the ray id to find my block event and created filters from event list and clicked the button “create rule” this was the result:

So they use the question mark…

1 Like

it just started working without question mark.
Thank you

2 Likes

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