Short answer
Use a 301 (or 308) permanent redirect whenever a URL moves for good: a changed slug, merged pages, a new domain or a switch to HTTPS. It sends visitors and search engines to the new address and helps transfer ranking signals. Google recommends keeping redirects for as long as possible, generally at least a year.
The full answer
Redirect types, in short:
- 301 and 308: permanent. Search engines treat the target as the new address.
- 302 and 307: temporary. Use them when the original URL will come back, such as during short maintenance.
- Meta refresh and JavaScript redirects: work in some cases but are less reliable, so use server-side redirects where you can.
Good practice:
- Redirect each old URL to its closest equivalent. Sending everything to the homepage loses relevance and frustrates visitors.
- Avoid chains and loops by pointing old URLs straight at the final destination.
- Update internal links, canonical tags and sitemaps to use the new URLs, so your own site doesn't rely on redirects.
- Keep a mapping file so redirects survive future redesigns and platform changes.
Redirects matter most during migrations, where missing mappings are a common cause of lost traffic. Google's site move guidance recommends HTTP permanent redirects such as 301 and 308, kept for as long as possible and generally at least a year, so ranking signals can transfer to the new URLs.
Sources
- Google Search Central: Site moves with URL changes (updated 20 Aug 2026)
Published by Vidern, founded and led by Malhar Shah. Updated .
Related services, tools and guides
Find the technical issues holding you back
Our free SEO audit checks crawling, indexing, speed and AI crawler access, and sends a prioritised action plan within 48 hours.
Request my free SEO auditRelated questions
How do I migrate a website without losing SEO traffic?
Technical SEO
Will a website redesign hurt my SEO?
Web Development & Site Care
What should I do with out-of-stock product pages?
E-commerce & SaaS SEO