How to Fix 429 Too Many Requests Error in cPanel
Posted about 4 months ago 4.2kUnderstanding 429 Error
Rate limiting: Too many requests in short time.
Common Causes
- Aggressive crawling
- API abuse
- DDoS attack
- Hotlinking
Solutions
Block Offending IP
cPanel → Security → IP Blocker → Add IP or range.
Use Cloudflare
Enable rate limiting rules and bot protection.
Limit via .htaccess
# Simple rate limit example (requires mod_ratelimit)
<IfModule mod_ratelimit.c>
<Location />
SetOutputFilter RATE_LIMIT
SetEnv rate-limit 1000
</Location>
</IfModule>
Prevention Table
| Threat | Prevention |
|---|---|
| Bad bots | Block user agents |
| API abuse | Rate limit endpoints |
| Hotlinking | Enable protection |
| Scraping | Cloudflare rules |