301 vs 302 Redirects: Which One to Use and What Each Does to SEO
The 301 vs 302 redirect choice comes down to one question: is the move permanent? Use a 301 when the old URL is gone for good, and a 302 only when you plan to bring the old URL back.
A 301 says a page has moved permanently. A 302 says the move is temporary and the original address will return.
Google uses a permanent redirect as a signal that the target URL should be the canonical one. It does not read a 302 that way.
With a 302 in place, Google tends to keep showing the original URL in results, which is exactly what you want for a short-term move.
308 behaves like 301 and 307 behaves like 302 in Google's eyes. The difference is whether browsers may change the request method.
Most redirect problems I find in audits aren't broken redirects.
They're working redirects with the wrong status code.
A page moved for good two years ago, and it still answers with a 302. Google keeps the old URL in results and nobody can work out why.
So here's the short version of 301 vs 302: permanent move, 301. Temporary move you will reverse, 302.
Below you'll see what each code means, how Google treats it, when a 302 is right, and how to check what your redirects really return.
301 vs 302 at a Glance
Here's how the four redirect codes you'll meet compare:
Code
Name
What it tells the browser
How Google treats it
Use it for
301
Moved Permanently
The page lives at a new URL for good
Strong signal that the target should be canonical; target shown in results
Permanent moves, merged pages, domain changes
302
Found
The page is temporarily somewhere else
Weak signal; the original URL is usually the one shown
Short-term moves you will undo
307
Temporary Redirect
Same as 302, but the request method must not change
Equivalent to 302
Temporary moves where forms or APIs are involved
308
Permanent Redirect
Same as 301, but the request method must not change
Equivalent to 301
Permanent moves where forms or APIs are involved
The rule I give clients is simple.
If you can't name the date the old URL comes back, it isn't temporary. Use a 301.
What a 301 Redirect Means
A 301 is the server saying: this page has moved, and it isn't coming back.
The browser follows the Location header to the new address. Visitors barely notice.
For search, the 301 does two jobs.
It sends people and crawlers to the right place. And it tells Google that the new URL should take over from the old one in the index.
That second job is the one that matters for SEO.
Typical uses:
moving a page to a new URL after a restructure
merging two thin pages into one stronger page
switching from HTTP to HTTPS, or from one domain to another
retiring a product and sending visitors to its closest replacement
If your project involves changing many URLs at once, the redirect status is only one decision. The bigger job is deciding where each old page should go, which I walk through in my guide on how to create a redirect map.
What a 302 Redirect Means
A 302 says the page is temporarily at another address.
The official name is "Found", which tells you little. In practice, it means: send people over there for now, but keep the original URL on file.
Here's the thing:
Your visitors won't notice the difference. Browsers treat 301 and 302 almost the same, and the page loads either way.
The difference shows up in search.
A 302 asks Google to keep the original URL as the one it shows. That helps you when the move really is short-term, and hurts you when it isn't.
One technical detail, for completeness. According to MDN's reference on 307 Temporary Redirect, older clients changed the request method to GET when following a 302. That's why 307 exists. For ordinary page views, which are already GET requests, the two behave identically.
How Google Treats Each One
This is where the 301 vs 302 choice stops being academic.
Permanent (301, 308, instant meta refresh): Google shows the new target in results, and its indexing pipeline uses the redirect as a signal that the target should be canonical.
Temporary (302, 303, 307, delayed meta refresh): Google shows the source page in results, and the redirect is not used as a canonical signal for the target.
Google's HTTP status code documentation puts it another way. It calls a 301 a strong signal that the target should be processed, and a 302 a weak one.
Two more details from those pages are worth knowing.
First, Google ignores any content served by the redirecting URL. It processes the final target instead.
Second, a temporary redirect doesn't lock the target out. Google says the target may still be indexed if other canonical signals point at it, such as a canonical tag. If canonical signals are new to you, my guide to canonical tags explains how they work together.
So a 302 isn't a penalty. It's a weaker, different instruction.
When a 302 Redirect Is the Right Choice
A 302 is right when you know the original URL is coming back.
These are the cases where I'd use one:
Maintenance or rebuild. A section is offline for a few days and you're sending visitors to a holding page.
Short promotions. A product URL points to a seasonal offer page for the duration of a sale.
Stock gaps. A product is briefly unavailable and you're pointing to a near equivalent until it returns.
Login and session flows. A members page sends logged-out visitors to a sign-in page.
Testing. You're trialling a new version of a page and may roll back.
In each case, the original URL is the one you want Google to keep showing.
That's exactly what a 302 asks for.
What doesn't count as temporary: "it might change again one day." Almost every URL you own might change one day. That's a 301.
What Happens If a 302 Is Left in Place
This is the most common redirect mistake I find.
It usually starts innocently. A developer adds a 302 because it was the default option in a plugin or hosting panel. Or a temporary move quietly becomes permanent and nobody updates the code.
The result is predictable.
Because Google treats the 302 as temporary, it tends to keep showing the old URL. The new page doesn't get the canonical signal a 301 would have sent. You end up with the old address in results, the new address doing the work, and reports that don't match what you expected.
Google can still settle on the new URL if other signals are strong enough. But you're relying on Google to override your own instruction.
Why make it guess?
If your move is permanent, change the 302 to a 301. It takes minutes. Then confirm the change with the checks further down this page, and ask Google to recrawl the old URL. My guide on how to get Google to index your website covers the ways to request that.
This is one of the first things I look at in a technical SEO review, because the fix is cheap and the cause is easy to miss.
The SEO Impact of a 301 Redirect
A correctly set 301 is the cleanest way to move a page without throwing away what it has earned.
Google shows your target in results and treats it as the canonical version. Links pointing at your old URL keep working for visitors.
But a 301 isn't magic.
It works when the new page answers the same need as the old one. It works badly when it doesn't. Google's site move guide warns that sending many old URLs to one irrelevant destination can be treated as a soft 404. In my audits, that destination is usually the homepage, and the redirect does little for you.
Three rules I follow for permanent redirects:
Point each old URL at its closest equivalent. Not the homepage, not a category page "because it's related".
Keep them for at least a year. Google's guide says generally at least one year. I keep them for good.
Update your own links. Redirects catch old links from other sites. Your menus, body copy and sitemaps should point straight at the new URLs.
A 301 is also the wrong tool if you want a page gone from Google entirely. For that, use a 404, a 410 or a noindex tag, depending on whether visitors still need the page.
307 and 308: The Lesser-Known Pair
You'll see 307 and 308 more often than you'd think, especially on modern hosting and frameworks.
Here's what they are:
307 Temporary Redirect is a 302 that forbids the client from changing the request method.
308 Permanent Redirect is a 301 with the same rule.
That method rule matters for form submissions and APIs. If a POST request hits a 301 or 302, some clients resend it as a GET, and the form data is lost. A 307 or 308 stops that.
For SEO, the answer is short. Google's crawling documentation says a 307 is equivalent to a 302 and a 308 is equivalent to a 301.
So treat them the same way:
308 is fine anywhere you'd use a 301.
307 has the same drawback as a 302 if the move is actually permanent.
Redirect Chains and Loops
A chain is when one redirect leads to another, and another, before reaching the final page.
They build up over years. A page moves in one redesign, then again in the next, and nobody updates the first rule.
Google's guide to site moves with URL changes says Googlebot can follow up to 10 hops. It also advises keeping chains low, ideally no more than three and fewer than five, and redirecting straight to the final destination where you can.
Every extra hop is another request for crawlers and another delay for visitors. On large sites, that adds up, which is one reason chains feature in my guide to crawl budget.
A loop is worse. URL A redirects to B, and B redirects back to A. The page never loads, and browsers show an error.
Loops usually come from two rules fighting each other, such as a trailing-slash rule and an HTTPS rule written separately.
How to Check a Redirect's Status Code
Don't trust the plugin setting. Check what the server actually returns.
In your browser
Open developer tools (F12 in most browsers) and go to the Network tab.
Tick Preserve log, so the first request isn't wiped when the page changes.
Load the old URL.
Click the first request in the list. The Status column shows 301, 302, 307 or 308, and the response headers show the Location it points to.
If you see more than one 3xx row before the final page, you've found a chain.
With curl
From a terminal, -I asks for the headers only:
curl -I https://example.com/old-page
The first line of the response is the status, and the location header shows the target:
HTTP/2 301
location: https://example.com/new-page
To follow the whole chain and see every hop, add -L:
curl -IL https://example.com/old-page
Each block in the output is one hop. One 3xx block followed by a 200 is what you want.
At scale
For a whole site, use a crawler and filter by status code. It will list every 3xx response, the target and the number of hops. I run this as part of every SEO audit.
One trap to watch: if the old URL is blocked in robots.txt, Googlebot can't request it, so it never sees the redirect at all. That situation has its own fix, covered in my guide to indexed though blocked by robots.txt.
Which Should You Choose?
Here's the decision in one place.
Choose a 301 if:
the page has moved and the old URL won't be used again
you're merging pages or retiring content into a replacement
you're changing domain, protocol or URL structure
Choose a 302 if:
you can name when the original URL will be back
you want Google to keep showing the original address in the meantime
Choose a 308 or 307 if:
the redirect handles form submissions or API calls and the request method must not change
otherwise, treat 308 as a 301 and 307 as a 302
For a full domain or platform move, the status code is the easy part. The planning, mapping and monitoring around it are what decide the outcome, and that's where a structured site migration process earns its keep. My website migration SEO checklist covers the go-live checks.
Get Your Redirect Codes Right Once
Redirect status codes are a small detail with a long tail.
Pick the code that matches your intent: permanent means 301 or 308, temporary means 302 or 307. Then check the live response, not the setting.
If your site has years of redirect rules layered on top of each other, a crawl will show you the 302s, chains and loops in an afternoon. When you'd rather hand that over, this is part of the technical SEO work I do for clients.
Frequently asked questions
Is a 301 or 302 redirect better for SEO?+–
Neither is better in general. They send different messages. A 301 tells Google the target URL should replace the old one in results, so it suits permanent moves. A 302 tells Google to keep the original URL, so it suits temporary moves. The SEO damage comes from using one where the other was meant, most often a 302 left on a page that has moved for good.
Can I change a 302 redirect to a 301 later?+–
Yes. Change the status code in the server rule, plugin or hosting panel, then confirm the new code with curl or your browser's Network tab. Google picks up the change when it next crawls the old URL. For important pages, you can prompt a recrawl through the URL Inspection tool in Search Console.
How long should I keep a 301 redirect in place?+–
Google's site move guide says to keep redirects for as long as possible, generally at least one year. I keep them indefinitely. Old links on other sites, bookmarks and email footers keep sending visitors to the old address for years, and a redirect costs almost nothing to maintain.
Are 308 redirects better than 301 redirects for SEO?+–
No. Google's crawling documentation says a 308 is equivalent to a 301, so the search effect is the same. The difference is technical: a 308 forbids the browser from changing the request method, which matters for form submissions and APIs. For ordinary page moves, use whichever your server or CMS sets cleanly.
Independent SEO consultant · 6+ years in SEO · 60+ client websites worked on
I'm an independent SEO consultant with 6+ years in SEO. I run audits, migrations and content programmes for businesses in Europe, the UK and the USA, and I build the automation behind my own research.