Use 301 for permanent, 308 when preserving method, redirect to the final URL, log every redirect, and audit the chain every quarter.
Redirects that age well
301 for permanent, 302 for temporary
If the move will last more than a few months, 301. If uncertain, 302 and revisit.
Redirect to the final URL
Never redirect A→B and B→C. Redirect A→C directly. Chains dilute ranking.
Log every redirect
A
redirects.yamlin the repo makes changes auditable and revertible.Audit every quarter
Run
curl -sI https://example.com/old | grep -i locationon every redirect in your map. Chains and loops appear quietly.