Block IP based on previous requests

Hello,

I would like to know if it’s possible to ban IPs based on the URLs they visit. In my logs, I see a lot of malicious traffic, with calls to /wp-admin, wp-config.php, etc. My site is not a WordPress site, not even php, and I would like to know if it is possible to block these bots once such URLs are accessed.

Thanks!

Hi, You can try this:

2 Likes

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