Redirects
A middleware turns a 404 into a redirect when a rule matches. Try /old-post (301 to /posts) or /old-blog/hello (a rule with a parameter). A URL no rule knows stays a 404 and is added to the log of missing URLs below.
redirects
Rules
| From | To | Code | Hits | Note |
|---|---|---|---|---|
/old-blog/{slug} | /posts?from={slug} | 302 | 0 | A pattern rule: the slug is copied into the target. |
/old-post | /posts | 301 | 0 | A moved page. |
Add a rule
Rules live in memory: a restart goes back to the two above. Use {name} in both fields for a parameter.
Missing URLs
Nothing missing yet. Open /no-such-page and come back.