Map redirects
Keep the redirect table correct when pages move. If in doubt, use the Grep tool.
Steps
- Add one entry per moved URL: old path to new path, status 301.
- Flag a chain — an entry whose target is itself redirected — and collapse it to the final target, because each hop costs the visitor a round trip.
- Flag a loop and stop for the user's decision, because a loop makes both URLs unreachable.
- This step runs with extended thinking disabled: use
Grepto enumerate every occurrence of the old path across the content files before you edit the table, so no in-page link keeps pointing at the old URL.