Per-path thresholds in Abuse & Bots use path patterns to decide which requests get a custom rate limit. The * wildcard lets one pattern cover many URLs.
How the wildcard works
*matches any sequence of characters, including slashes.- A pattern without a wildcard matches that path exactly.
- Matching is done against the request path.
Examples
/wp-json/wc/store/*covers every WooCommerce Store API route./product/*covers all product pages./wp-json/myplugin/v1/searchcovers one specific endpoint only./*matches everything, which is the same as changing the default limit. Avoid it.
Writing safe patterns
- Be specific. A narrow pattern changes limits only where you intend.
- Avoid patterns that catch admin traffic unless you mean to; logged-in administrators still send requests through these paths.
- Check for overlap. When two patterns match, the longest pattern wins, so a specific endpoint can have a stricter limit than its parent folder.
Testing a pattern
After saving, watch Abuse Intelligence and filter the Event Explorer by category bot_control. Rate-limit events include the matched pattern, so you can confirm the right rule is applying.
Related: Per-path thresholds, Per-path override precedence.
