301 vs 302 Redirects: Which One Actually Helps Your SEO?
301 vs 302 redirect: which passes SEO value and when should you use each? Real examples, common mistakes, and how to check redirects on your site.
Every developer eventually asks the same question when moving a page: do I use a 301 or a 302? Get it wrong and you can quietly lose rankings, dilute link equity, or leave old URLs indexed for months. Get it right and the transition is invisible to both users and search engines. Here's the actual difference, and how to decide which one belongs on your site.
The Core Difference (In Plain Terms)
Both redirects send a browser or crawler from URL A to URL B. The difference is what they tell search engines about why that's happening.
- 301 Moved Permanently — "This page has moved for good. Update your records and treat the new URL as the real one."
- 302 Found (Temporary Redirect) — "This page is somewhere else right now, but don't get too attached to the new URL — the original will come back."
Search engines historically treated 301s as passing full ranking signals (link equity, relevance, authority) to the destination URL, while 302s were treated as leaving the signals with the original URL. Google has since clarified that it can pass signals through 302s too in many cases, but it still treats the two status codes differently in terms of indexing behavior — and that's where most SEO problems actually happen.
What Google Actually Does With Each
- With a 301, Google will typically drop the old URL from the index and index the new one, consolidating signals there.
- With a 302, Google may keep the original URL indexed, because it's been told the move is temporary. If you leave a 302 in place for months on a permanent change, you end up with the wrong URL ranking, or duplicate content confusion between both versions.
When to Use a 301
Use a 301 any time the change is permanent. That covers the vast majority of real-world redirect scenarios:
- Domain migrations — moving from olddomain.com to newdomain.com.
- HTTP to HTTPS — every non-secure URL should 301 to its secure equivalent, permanently.
- URL structure changes — e.g.,
/blog?id=42becoming/blog/how-to-fix-redirects. - Merging duplicate or thin pages — consolidating two similar articles into one canonical version.
- Removing or renaming categories —
/shop/mensbecoming/shop/men. - www vs non-www standardization — pick one and 301 the other permanently.
In all of these cases, the old URL isn't coming back. You want the ranking signals, backlinks, and indexed status to move to the new URL as cleanly and quickly as possible — that's exactly what a 301 is built for.
When to Use a 302
302s exist for situations where the redirect is genuinely temporary and the original URL will be back in active use:
- A/B testing — sending a portion of traffic to a variant page temporarily.
- Maintenance windows — redirecting to a "we'll be back" page while you deploy changes.
- Geo or device-based redirects that are session-specific — though canonical tags and hreflang usually handle this better long-term.
- Seasonal or promotional pages — redirecting a category page to a flash-sale page for a week, then reverting.
- Stock-out redirects — an out-of-stock product page temporarily pointing to a category page until restocked.
The key test: if you'd be upset that Google stopped indexing the original URL, use a 302. If you never want to see that URL again, use a 301.
A Quick Decision Checklist
- Is the old URL gone forever? → 301
- Will the old URL return within days or weeks? → 302
- Are you testing something and need to revert quickly? → 302
- Are you consolidating content permanently? → 301
- Are you unsure? → Default to 301 for anything that isn't explicitly time-boxed. Leaving a 302 in place indefinitely is one of the most common redirect mistakes on the web.
Common Mistakes That Hurt SEO
1. Using 302 for Permanent Moves "Just to Be Safe"
Some developers default to 302 because it feels less risky — it's "just temporary," so what's the harm? The harm is that search engines may keep indexing the old URL, split ranking signals between two URLs, and slow down the consolidation you actually wanted. If the move is permanent, commit to a 301.
2. Redirect Chains
A redirects to B, which redirects to C, which finally lands on D. Each hop adds latency and dilutes signal strength. Audit your site for chains — especially after multiple migrations — and collapse them so every URL redirects directly to its final destination in one hop.
3. Redirecting Everything to the Homepage
When a page is deleted, a 301 to the homepage is a lazy fix that tells search engines the homepage is now relevant for that old page's queries — it isn't. Redirect to the closest matching category or a genuinely relevant page, or let the page 404/410 if nothing relevant exists.
4. Mixing Up Status Codes in Server Configs
Depending on your stack, the wrong config can accidentally serve a 302 when you meant a 301 (a common issue with certain CMS plugins, older .htaccess rules, or framework defaults). Never assume your redirect is doing what you configured — verify it.
How to Verify What's Actually Happening
Don't trust the CMS panel or plugin label — check the raw HTTP response. Run the URL through a redirect checker to see the exact status code, every hop in the chain, and the final destination URL. This is especially important after:
- A site migration or domain change
- Switching CMS platforms or hosting providers
- Installing or updating an SEO/redirect plugin
- Any bulk URL restructuring project
If you're auditing a large site, spot-check your highest-traffic and highest-backlink pages first — those are where a misconfigured redirect does the most damage to rankings.
What to Look For in the Results
- Status code — confirm it matches your intent (301 for permanent, 302 for temporary).
- Number of hops — one hop is ideal; anything more should be flattened.
- Final destination — make sure it resolves to the exact URL you expect, including trailing slashes and HTTPS.
- Response consistency — check the redirect on both the www and non-www version, and on HTTP and HTTPS variants.
Run your key URLs through the free Redirect Checker at AXOX Hub to confirm every redirect is using the right status code before it costs you rankings.
Try the free tool
Open Tool