301 vs 302 redirects: permanent, temporary, and which to use

The practical difference between permanent and temporary redirects, what each signals, and the redirect mistakes that cost sites the most traffic.

Published ·3 min read·2 sources cited

The short version

  • 301 = permanent. Use it whenever the move is not coming back. This is almost always the right choice.
  • 302 = temporary. Use it only when the original URL will genuinely return.
  • The expensive mistakes are not 301-vs-302 — they are redirect chains, redirecting everything to the homepage, and forgetting redirects entirely.
  • Redirect to the closest equivalent page. A redirect to an irrelevant page is treated much like a 404.

This question gets more attention than it deserves, because the answer is nearly always 301 and the genuinely damaging redirect mistakes are elsewhere. Still, the distinction is real and worth getting right.

The distinction

Permanent versus temporary
Aspect301302
MeaningMoved permanentlyFound elsewhere temporarily
Signals to keep indexedThe destinationThe original
Consolidates signals to destinationYesNot intended to
Browser cachingAggressiveNot cached
Use whenThe move is permanentThe original will return
Typical correct useURL restructure, domain change, HTTPSA/B test, temporary maintenance page

Note the browser caching row, which causes real operational pain. A 301 is cached aggressively, so if you set one by mistake, visitors who already hit it may keep being redirected even after you remove it. Test redirects in a private window, and be cautious about setting a 301 you are not certain about.

The mistakes that actually cost traffic

  1. No redirect at all. Deleting or moving a page without one turns every link and ranking pointed at it into a 404. This is the most common and most expensive mistake.
  2. Redirecting everything to the homepage. A mass redirect of unrelated URLs to the root is treated much like a soft 404. Redirect to the closest equivalent page instead.
  3. Redirect chains. A → B → C → D wastes crawl and dilutes signals. Point A directly at D.
  4. Redirect loops. A → B → A. The page becomes unreachable for everyone.
  5. Forgetting internal links. After redirecting, update the internal links that pointed at the old URL. Redirects are a safety net, not a substitute.

Crawl your site with Screaming Frog after any restructure — it reports chains, loops and internal links still pointing at redirected URLs. That single crawl catches all five of the above.

Redirect types you will also meet

Three others come up often enough to be worth knowing. A 307 is the modern temporary redirect that preserves the request method; you will see it on HTTPS upgrades driven by HSTS rather than by your own configuration. A 308 is its permanent equivalent. And a meta refresh or JavaScript redirect is not an HTTP redirect at all — it works for users and is a weaker, slower signal for everything else.

Prefer server-level HTTP redirects wherever you can. They are faster, unambiguous, and they work for consumers that never execute JavaScript. Google’s guidance on consolidating duplicate URLs covers the related question of when a canonical is the better instrument than a redirect — broadly, redirect when the old URL should stop existing, canonicalise when both need to remain reachable.

One practical note on where redirects live. Rules in a web server configuration or edge layer are fast and centralised but invisible to anyone reading the application code. Rules in a WordPress plugin or application router are easier for non-developers to manage and easier to lose track of. Whichever you choose, keep them in one place — a site with redirects split across a CDN, a server config and a plugin is where chains and loops quietly accumulate.

Migrations are where this becomes catastrophic

The largest permanent traffic losses in SEO mostly come from botched redirect mapping during a migration or replatform. Map every old URL to its closest new equivalent before launch, test the map on staging, and crawl the old URL list immediately after going live. See when to hire — migrations are on that list for exactly this reason.

Frequently asked questions

Should I use a 301 or 302 redirect?

301 in almost every case. Use 302 only when the original URL will genuinely return, such as during temporary maintenance or an A/B test.

Do 301 redirects lose link equity?

Modern guidance is that permanent redirects pass signals without a meaningful penalty. What does cause loss is chains, redirects to irrelevant pages, and no redirect at all.

How long should I keep redirects in place?

Indefinitely where practical. External links to old URLs persist for years and cost nothing to keep honouring.

Can I redirect everything to my homepage?

You can, and it is treated much like a soft 404 because the destination does not satisfy the original intent. Redirect to the closest equivalent page.

Sources

Every figure on this page traces to one of these. Dates are when we last read the page — pricing and features change, so treat anything older than a few months as a starting point rather than gospel. All outbound links here are nofollow.

  1. [1]
    Screaming Frog SEO Spider Pricing

    Screaming Frog · screamingfrog.co.uk · Vendor page · read 2026-09-18

  2. [2]
    How to Specify a Canonical URL

    Google Search Central · developers.google.com · Official documentation · read 2026-09-18

Keep reading

This question gets more attention than it deserves, because the answer is nearly always 301 and the genuinely damaging redirect mistakes are elsewhere. Still, the distinction is real and worth gettin…