Skip to content
Technical SEO 4 min read

Redirects: 301, 302 and How to Kill Redirect Chains

Redirect guide: which code to use, how chains and loops waste crawl budget, and a migration-safe redirect checklist.

Redirects: 301, 302 and How to Kill Redirect Chains
Key takeaways
  • Use 301s for permanent moves and 302s only for temporary ones.
  • Map old URLs to the closest new page, not always the homepage.
  • Test every redirect hop and remove chains after launch.

A redirect sends users and crawlers from one URL to another. Used correctly, redirects preserve rankings during migrations and site changes. Used poorly — chains, loops, permanent redirects to errors — they waste crawl budget and leak link equity. This guide covers the codes and the cleanup.

Which redirect code to use

301 for permanent moves: it passes roughly the full link equity and updates indexes fastest. 302 for temporary situations only. 307 is the strict temporary variant. Meta refresh and JavaScript redirects are last resorts — crawlers handle them less reliably.

Redirect chains and loops

A chain is URL A → B → C. Each hop slows the user, wastes crawl budget, and dilutes signals. A loop is A → B → A and breaks crawling entirely. Flatten every chain to a single hop: point every old URL directly at the final destination. Run the bulk checker after every migration.

Redirects during migrations

Map every old URL to its closest new equivalent before launch day. Keep the redirects in place for at least six months — long enough for search engines to recrawl everything. A 404 with a proper status is better than a redirect to an unrelated page.

Migration redirect mapping

Before any migration, export every indexed URL from Search Console and your crawl tool, then map each to its closest new equivalent. Unmapped URLs should get an explicit decision: redirect to the nearest relevant page, or 404 honestly. Never default-map everything to the homepage — Google treats mass redirects to the homepage as soft-404s and drops the signals anyway.

Finding chains at scale

The bulk redirect checker processes long URL lists, follows every hop, and flags chains and loops with the full path. Run it on your top 500 indexed URLs quarterly, and after every deployment that touches routing rules. Chains usually form accidentally — a CMS slug change stacking on an old redirect that was never removed.

301 redirects pass essentially all link equity, but only when the redirect stays in place long enough for recrawling. Old URLs with real backlinks deserve permanent redirects that never get cleaned up. URLs with no equity — parameter variants, test pages — can be allowed to 404 cleanly without cost.

A migration map that prevents lost traffic

Before changing URLs, export the old URL inventory with traffic, backlinks, and page type. Then map each URL to the closest equivalent, not the easiest destination:

Old URLNew URLRule
/old-category/widgets//collections/widgets/Category-level equivalent.
/old-blog/seo-tips//blog/seo-tips/Same article, new path.
/promo/black-friday//deals/Seasonal page with a current equivalent.
/legacy-product//products/new-name/Product renamed but still sold.

Only send a retired page to the homepage when no relevant replacement exists. Homepage redirects are technically valid but usually a poor user experience and a weak relevance signal.

Redirect QA checklist

  • Every old URL returns exactly one 301 to a live 200 page.
  • No redirect points to another redirect.
  • No loop exists between two or more URLs.
  • Query strings and tracking parameters do not create duplicate redirects.
  • Internal links are updated to the final destination, not the old URL.
  • Sitemaps and canonicals use the new URL only.

Run a crawler across the old URL list after launch. Fixing redirects in a spreadsheet is not the same as verifying what the server actually returns.

When a redirect is the wrong tool

If a page still exists and serves a different intent, do not redirect it away. Improve the page or split it into two pages. Redirects are for moved or retired URLs, not for hiding thin content. For temporary maintenance, use a 503 with a short retry window rather than a 302 that confuses crawlers about the permanent URL.

Free tools in this hub

Related reading: Schema markup guide.

Frequently asked questions

Are redirect chains always a problem?

Short chains still work, but every extra hop wastes crawl budget and slows users. Flatten chains to one hop during any site cleanup.

How long should redirects stay in place?

At least six months after a migration, ideally indefinitely for URLs with backlinks. Search engines need time to recrawl and reindex.

Should I redirect 404s to the homepage?

No. A 404 is honest. Redirect broken pages to the closest relevant replacement, or to a parent category — never blanket-redirect to the homepage.

Share X LinkedIn Email
Want a quick SEO check on a page? Run the free SEO checker and get a scored report with prioritised fixes.
Free SEO checker

Reviewed by TheLinksMaster

SEO Editorial Team

Our editorial team tests every tool and guide on this site against real websites. We update content when search algorithms change so you always get current, practical SEO advice.

How we test and update our guides · Meet the editorial team

Start with these guides

Canonical Tags Explained: The Complete Guide A complete guide to canonical tags - what they are, why they matter, how to impl... Robots.txt: How to Control Crawlers Without Blocking Rankings Robots.txt rules explained: allow and disallow syntax, robots.txt versus noindex... Core Web Vitals Explained: Improve LCP, INP, and CLS A practical guide to Core Web Vitals - what LCP, INP, and CLS measure, how to te...
Free Redirect checker Analyze the complete redirect path of an URL. Verify status codes, chain… Free IDN converter Convert text to Punycode and Punycode back to text. Prepare international… Free JS minifier Minify and improve the performance of JavaScript code. Reduce file size by… Free CSS minifier Minify and improve the performance of CSS code. Strip whitespace and comments… Free HTML minifier Minify and improve the performance of HTML code. Reduce markup size by… Free QR generator Generate a customizable QR code for a text, URL, or phone number. Create…
Schema Markup: JSON-LD Formats That Earn Rich Results Schema markup guide: which JSON-LD formats matter in 2026, how to implement and... XML Sitemaps: Creation, Splitting and Coverage Checks Build and maintain XML sitemaps that work: URL limits, lastmod accuracy, sitemap... Robots.txt: How to Control Crawlers Without Blocking Rankings Robots.txt rules explained: allow and disallow syntax, robots.txt versus noindex... Meta Tags: The Complete Guide to Titles, Descriptions and Robots Everything about meta tags: which ones matter, how to write titles and descripti... International SEO: How to Use hreflang Without Breaking Your Site Use hreflang without breaking your site: language vs country choices, the exact...
← All guides