View Single Post
Old 02-23-2026, 12:49 AM  
jamezon
Confirmed User
 
Industry Role:
Join Date: Apr 2019
Posts: 134
Quote:
Originally Posted by Reno78 View Post
No, htaccess won't be enough for that.

I dealt with this problem last year. In the end, with the help of Chat GPT, I programmed a PHP firewall that works reliably. The firewall blocks all IP addresses that visit more than 80 pages in 5 minutes. Of course, I use a whitelist for known bots such as Googlebot, etc.

Nothing is 100%, but I've been using this solution for almost a year now, and it works well.
i agree, while programming an entire php firewall is an own challenge, you can catch many unwanted bots with simple basic rate limiting on cloudflare on their free tier , this keeps a lot of trash away from your system ressources.
jamezon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote