Pattern rules¶
Apply changes to many URLs at once based on patterns.
- Wildcard —
*matches any characters (e.g./blog/tag/*) - Regex — regular expressions for complex matching
Rules apply top-to-bottom, first match wins. Individual overrides always beat pattern rules.
Example rules¶
| Pattern | Action |
|---|---|
/blog/tag/* |
Exclude from sitemap |
/products/* |
Priority 0.8, weekly |
/page/[0-9]+ |
Exclude pagination |