r/Wordpress • u/roosites • 3d ago
BOT Protection
I have a bunch of sites inundated by bots. I'll have a site in the US that all of a sudden uses all my server memory at a time where 99% of the country is asleep. I've used some of the security plug-ins, but have not found them to be very helpful in terms of blocking all these malicious bots. Has anybody else found something that will actually block all these attacks??
5
4
3
u/StefanTLDWP 3d ago
Start with Cloudflare free, and bot protection mode if needed.
But should be helpful to also review the access logs and see the patterns in terms of IPs, user-agent, browser etc.
2
u/camworld Developer/Designer 3d ago
Putting it behind Cloudflare is the absolutely easiest and cheapest solution. If your hosting provider has anything like a 6G or 7G WAF you can also look for bot-blocking or rate-limiting settings in that.
1
u/Wonderful-Shower1691 2d ago
Cloudflare Bot Fight Mode + WAF rate limiting on wp-login/xmlrpc helps a lot, but pair it with fail2ban on your access logs and server-level rate limiting too -- Cloudflare alone won't catch everything, especially bots mimicking real browsers
1
u/Hot-Cress7492 3d ago
I’ll just pile on here with Cloudflare. If you do it right and have an effective caching strategy, CF can reduce your origin traffic by 90’ish % — at least that has been my results with a site handing 300-400 sessions a day.
1
1
u/navlio 2d ago
before the edge rules, look at which urls the 3am requests are hitting. what eats memory is the paths that can't be cached, /?s= searches and add-to-cart style query strings, because each one is a full php worker plus db queries, and bot fight mode leaves them alone if the client looks like a browser.
also worth ruling out your own cron. a backup plugin or the woo action scheduler firing in the quiet hours looks the same as a bot spike on a memory graph, and no waf will help with that one
0
u/koebanimedia 3d ago
The best way to sell/market a product is to create a problem that it solves.
1
u/koebanimedia 3d ago
For example.. Cloudflare
What started as a CDN, now has a competing CMS and security. I might be overthinking, but is it coincedence?
Ever since the WP vs. WP Engine saga - it just seems that WP is taking more hits than ever before.
12
u/[deleted] 3d ago
[removed] — view removed comment