Redirect to the Closest Equivalent Answer
A redirect takes a visitor and crawler from one URL to another. For an approved move, choose the destination that preserves the old page's practical purpose. A consultation guide should not automatically send someone to a generic homepage or an unrelated service.
Use a permanent HTTP redirect, commonly 301 or 308, when the move is intended to remain and the replacement is the new lasting destination. Use a temporary redirect, commonly 302 or 307, when the original URL is expected to return. Choose from the actual move intention, not a preferred score. The developer must also account for the request method and hosting behavior; an ordinary page-link example is not a plan for redirecting form submissions.
Build a Small Redirect Table
Use old path, new path, reason, intended permanence, and verification columns. Include whether the new destination answers the original reader task. A hypothetical renamed office-information page maps to the current office page, while a separate payment guide remains its own destination.
If there is no relevant replacement, pause the mapping decision and review the content need. Do not invent a blanket rule that sends every missing URL to the homepage. Do not delete a page or change public paths without the specific authority those actions require.
A Filled Hypothetical Redirect Mapping
These are planning rows only. They do not authorize moving or removing a live page. Inspect the old response, each hop, and the final relevant content; a browser showing a final page alone does not identify the redirect status.
| Old path | New path | Intention | Expected first response |
|---|---|---|---|
| /consultation-overview | /consultation-guide | Permanent equivalent-page move | 301 in this example; 308 is also a permanent type |
| /office-information | /office-update | Temporary visitor information while the original page returns | 307 in this example; 302 is also a temporary type |
Test More Than the Final Screen
Inspect the original response and each hop, then confirm the final page, canonical, and useful content. Check for loops and unnecessary chains. Update internal links to the final preferred destination where appropriate.
After an authorized release, test the actual public domain, not only a local rule file or preview. Include a known retained URL and an unrelated nonexistent path as controls so a global fallback is not mistaken for a successful mapping. A redirect plan succeeds when the intended old paths lead to the right answers with behavior suited to the real move.
Put This Into Practice
A missing relevant replacement is a content decision, not an excuse for an unrelated redirect.
Test the original response, final content, retained URLs, and a nonexistent control path.
- Map old and new paths
- State the real move intention
- Check each hop and final content