DEV Community

Cover image for When “Visitors” Aren’t Visitors: My Battle With Bots
Tima
Tima

Posted on

When “Visitors” Aren’t Visitors: My Battle With Bots

One day my site traffic spiked — bounce rates shot up, charts went wild, and most of the “visitors” were hitting only pagination pages. At first, I thought: DDoS? Clickers? Real users from China?

A graph that shows how much Chinese visited my website for the last month

After digging deeper, I realized it was most likely a parser bot scraping my content. The solution? A crash course in .htaccess, IP ranges, and blocking entire countries just to keep my site breathing.

Page is forbidden

It’s a story about sudden traffic bursts, false alarms, and the messy reality of defending a small independent site.

Read the full breakdown here: Someone is parsing my website from China, and then I’ve blocked them via htaccess file

Top comments (0)