July 07th, 2024

How to Block Bad Bots?

Like (0) Comments (1)

1 Comments Add Your Comment

Akshat Gupta
3 years ago Selected
If you use content delivery networks like Cloudflare, KeyCDN, then you can also block bad bots through them.

For this on Cloudflare, you have to use the following firewall rule.

Go to Cloudflare Firewall >> Firewall Rules and click on Create a Firewall rule button and create rule in the following way

Field: User Agent

Operator: contains

Value: bots name

After this the setting has to be saved by selecting the block in action. For example, if you want to block SemrushBot, you will add SemrushBot instead of bots name.
Like (0) Reply

Post a Comment

To leave a comment, please Login or Register