Bot Attacks and Traffic Floods: What a Small Website Owner Can Do
Slow or unavailable site during a flood of requests. Identify, filter and ask for help the right way.
Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Confirm it is a flood
Compare your host's metrics with normal levels, and read the access log for repeated requests from the same addresses or paths. See our logs guide.
Quick steps
- Put the site behind a CDN or firewall with bot protection. See our Cloudflare guide.
- Turn on caching so pages are served without heavy work. See our caching guide.
- Rate-limit login and search endpoints. See our brute-force guide.
- Block clearly abusive addresses or countries you do not serve, carefully.
- Tell your host. They can see network-level traffic and may help.
Be careful
Blocking too broadly can lock out customers or search engines.
After
Check for malware, since hacked sites can be used in attacks. See our malware guide, and consider whether it is time to upgrade. See our hosting guide.
Related guides
- WordPress Login Page Keeps Reloading or Redirecting (Can't Log In)
- WordPress User Roles Explained: Administrator, Editor, Author, Contributor, Subscriber
- Unknown Administrator Users Appeared in WordPress: What to Do
- Lost Your Phone or Two-Factor Code for WordPress: How to Get Back In
Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.