Understanding 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

ThreatPrevention
Bad botsBlock user agents
API abuseRate limit endpoints
HotlinkingEnable protection
ScrapingCloudflare rules