Rate limiting
Definition
Rate limiting caps how often an action can happen from an IP or account, which slows automated abuse.
Also called: rate limit, login rate limit
Why it matters for WordPress
Without limits, bots can try thousands of passwords per hour against wp-login.php and xmlrpc.php. That burns server resources and raises the odds that a weak password eventually works. Soft limits turn the spray into a slow, noisy process you can detect and block.
Rate limiting is not the same as a permanent ban list. Good limits slow attackers while still letting real users recover from a typo.
How it shows up in practice
- Temporary lockouts after N failed logins from one IP
- HTTP 429 responses from a CDN, host, or application firewall
- Firewall rules that throttle a path (login, XML-RPC, search, checkout)
- Staff hitting limits from a shared office IP if the threshold is too strict
What to do
- Rate-limit WordPress login and XML-RPC if you still expose them.
- Prefer progressive delays or short temporary bans over permanent locks that attackers can use to DoS real users.
- Allowlist trusted office or monitoring IPs carefully when staff share one egress address.
- Pair limits with two-factor authentication so a successful guess still needs a second factor.
- Watch failed-login volume in your events log after you tighten thresholds.
In WP Security Ninja
Pro login protection includes configurable failed-login limits: after too many bad attempts, further tries are blocked for that visitor instead of hammering PHP forever. Combine that with 2FA on admin roles when you want stolen or stuffed passwords to fail even if they are “correct.”
Related terms
Nearby ideas in the dictionary
- Brute force A brute-force attack tries many passwords or tokens until one works, usually against the login form.
- Credential stuffing Credential stuffing replays usernames and passwords stolen from other breaches against your login.
- WordPress WAF A WAF filters HTTP traffic to block common web attacks before they reach WordPress.
- DDoS A DDoS attack floods a site or its infrastructure with traffic so legitimate visitors cannot get through.
- Login protection Login protection is the set of controls that harden the WordPress login against bots and credential attacks.