Short answer: Good bots, like search engine crawlers, help your site; bad bots scrape content, spam forms, test passwords and waste server resources. Spot them through unusual traffic patterns, then block them with rate limits, a web application firewall, form protection and, if needed, a CDN's bot filtering.
Good bots vs bad bots
| Good | Bad |
|---|---|
| Search engine crawlers | Content scrapers |
| Uptime monitors | Comment and form spammers |
| Link preview fetchers | Credential-stuffing tools |
Signs of bad bot traffic
- Sudden spikes from many unrelated IPs.
- Hundreds of requests to login, search or cart pages.
- Analytics showing visits with zero engagement.
- Server resource limits being hit without real sales or enquiries.
How to block them
- Rate limiting on login and search pages.
- A web application firewall. See WAF.
- Form protection with honeypots or invisible challenges. See stopping comment spam.
- CDN bot filtering. See putting your site behind Cloudflare.
Don't block the good ones
Check before blocking user agents that belong to search engines; blocking them can remove your site from results.
Frequently asked questions
Can robots.txt stop bad bots?
No. Bad bots ignore it. See robots.txt.
Do bots affect my analytics?
Yes. Filtering bot traffic gives you more accurate numbers.



