Use a 301 when a page has moved for good, and a 302 when the move is temporary and the old URL will come back. Google treats a 301 (or 308) as a strong signal that the new URL should be canonical, so it shows the new address in search results. It treats a 302 (or 307) as a weak signal and keeps showing the original URL. Neither type is a penalty, and Google says 301 and other permanent redirects don't cause a loss in PageRank. The SEO risk comes from picking the wrong type, chaining redirects or sending old pages somewhere irrelevant.
This guide explains what each status code means, how Google reads them, when a temporary redirect is the right call, and how to check what your site is actually sending.
What's the difference between a 301 and a 302 redirect?
The difference is how long the move is meant to last. The HTTP standard, RFC 9110, says a 301 means a resource "has been assigned a new permanent URI", while a 302 means it "resides temporarily under a different URI", so clients should keep using the original address for future requests.
Google follows the same logic. Its guide to redirects and Google Search says visitors generally can't tell redirects apart, but Google Search can:
- Permanent redirects show the new redirect target in search results.
- Temporary redirects show the source page in search results.
Here's how the four common status codes compare:
| Status code | What it means | How Google treats it | Request method |
|---|---|---|---|
| 301 Moved Permanently | Moved for good | Strong signal the target should be canonical | Browsers may switch POST to GET |
| 308 Permanent Redirect | Moved for good | The same as a 301 | Must not change |
| 302 Found | Temporary move | Weak signal, so the old URL usually stays | Browsers may switch POST to GET |
| 307 Temporary Redirect | Temporary move | The same as a 302 | Must not change |
Google's page on how HTTP status codes affect its crawlers confirms it treats 307 like 302 and 308 like 301. It still recommends using the code that fits, because other clients, such as other search engines, may benefit from the difference. A 301 redirect is the usual choice for permanent moves, while a 308 suits forms and apps that must resend the same request.
Which redirect should you use?
Start with one question: will the old URL ever come back? If not, it's permanent. If yes, it's temporary. Two situations don't need a redirect at all.

Most real-world cases are permanent: a new domain, a switch from HTTP to HTTPS, a renamed page, merged articles or a retired product with a close replacement. Google's guide to consolidating duplicate URLs lists redirects as the strongest of its canonicalization signals, and recommends permanent redirects when you want to get rid of duplicate pages. Our guides to canonical tags and duplicate content explain when a redirect beats a canonical tag.






