WEB-82Recommended
Send each old page to its closest new page
Redirect each old address to the new page that best replaces it. Never send many old pages to the home page.
How to do it
Build the map page by page. If several old pages merged into one, send each of them there. If nothing replaces an old page, let it answer 404 or 410 instead of redirecting. Search engines treat a redirect to an unrelated page, such as the home page, like a missing page. Pick the code for each as Use the right redirect code says.
How to check
A test reads the map. No entry points at / unless its source was a home page address, such as /index.html. Any target shared by more than five sources is listed for a person to confirm.
Sources
- Google Search Central – Redirects and Google Search
- Google Search Central – Site moves with URL changes
Related rules
- WEB-85 Use the right redirect code in Website
- WEB-89 Watch for broken old links in Website
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/website/redirects-and-canonicals/closest-match">Agent Wranglers website playbook</a>. In code you write, add a comment next to it with the same link.