
301, 302, 307 or 308, which redirect for SEO
Which redirect to use when a page moves. What Google's documentation says about 301, 302, 307 and 308, where a recent summary goes further, and common mistakes.
When a page moves, the status code you choose tells Google, and browsers, what kind of move it is. This guide answers which one to use. It is built on Google’s own documentation, with a note on where a recent summary goes further.
The short answer
- Moved for good: 301, or 308.
- Moved for now and coming back: 302, or 307.
- The request must keep its method and body, such as a form or an API: 308 if permanent, 307 if temporary.
| Code | Type | What Google does | Method kept? |
|---|---|---|---|
| 301 | Permanent | Shows the new URL and treats it as the canonical | May change POST to GET |
| 308 | Permanent | Same as 301 | Yes |
| 302 | Temporary | Keeps the original in results | May change POST to GET |
| 307 | Temporary | Same as 302 | Yes |
What Google’s documentation says
Google’s redirect page, last updated on 14 April 2026, makes these points:
- Permanent redirects show the new target in results. Use them only when you are sure the move will not be reversed.
- Temporary redirects keep the original page in results. They do not signal that the target is canonical, though the target may still be indexed if other signals point to it.
- Server-side redirects are recommended. A meta refresh of zero seconds counts as permanent and a longer delay as temporary. A JavaScript redirect is a last resort, because rendering can fail and Google may never see it.
- After a move, the old URL may keep appearing for a while. The page says this fades over time.
Google’s status code page lists 308 as equivalent to 301 and 307 as equivalent to 302, and says Googlebot follows up to 10 redirect hops. Gary Illyes said in 2016 that 30x redirects do not lose PageRank.
When 307 and 308 matter
When a browser receives a 301 or 302 in reply to a POST request, it may switch to GET for the next request. MDN notes that this is allowed, and that a 308 prohibits changing the method. RFC 7538 introduced 308 to fill that gap, and 307 does the same for temporary moves. So a checkout, a login form or an API endpoint should use 308 or 307. For a normal page that people simply open, the pairs behave alike.
Common cases
These are our reading of the rules above, not a Google list:
- HTTP to HTTPS, or one host name to another: 301.
- A renamed or merged page: 301 to the closest matching page.
- A short maintenance page or a seasonal offer: 302.
- A moved domain: 301 for each old URL to its new equivalent. Expect old URLs to linger in results for a while.

Mistakes to avoid
- Leaving a 302 on a permanent move. You are telling Google the original may come back.
- Chains and loops. Googlebot follows up to 10 hops, and each one slows people down. Point the old URL straight at the final page.
- Redirecting everything to the homepage. Google’s advice for a removed page with no similar replacement is a 404 or 410.
- Using JavaScript when a server-side redirect is possible.
Where a recent summary goes further
Search Engine Journal summarised a Google discussion between Gary Illyes and Cherry Prommawin on 5 November. It says a 302 does not pass ranking signals and the new URL is largely ignored. Google’s written page says less: a temporary redirect does not signal the target as canonical, though the target may still be indexed. Illyes said in 2016 that 30x redirects do not lose PageRank. These are not the same claim.
The article does not name the video, and we could not find it, so we do not repeat the stronger version. Its section on content cannibalisation is the author’s opinion, not Google’s.
How to check a redirect
curl -sI https://example.com/old-page | head -n 5
Read the status line and the Location header. In a browser, the Network tab shows the same. Search Console’s URL inspection shows which URL Google chose as canonical. Settings differ by host and framework, so check which status code yours returns and do not assume it is permanent.
For related checks, see what a 4xx status does to your URLs and our SEO checklist for AI-built websites.
Frequently asked questions
Does a 301 redirect lose ranking?
Google's Gary Illyes said in 2016 that 30x redirects no longer lose PageRank. Google's documentation says a permanent redirect signals that the target should be the canonical URL. Old URLs can still appear for a while after a move.
Does Google treat 308 like 301?
Yes. Google's status code documentation lists 308 as equivalent to 301, and Gary Illyes said in 2021 that Google merges the two.
Is a 302 bad for SEO?
Not if the move really is temporary. Google keeps the original page in results for a temporary redirect. It is a poor choice for a permanent move, because you are telling Google the original may come back.
When do I need 307 or 308?
When a request must keep its method and body, such as a form POST or an API call. For ordinary page views, 301 and 308 behave alike, and so do 302 and 307.
Can I use a meta refresh or JavaScript redirect?
Google prefers server-side redirects. An instant meta refresh counts as permanent and a delayed one as temporary. JavaScript redirects are a last resort because rendering can fail and Google may never see them.
How many redirects in a row is too many?
Googlebot follows up to 10 hops, but each hop adds delay for users. Point the old URL straight at the final page.
- Redirects and Google Search (Google Search Central, updated 14 April 2026)
- How HTTP status codes, and network and DNS errors affect Google Search (Google Search Console Help)
- Google explains how redirects affect ranking signals (Search Engine Journal, 5 November 2026)
- Google treats 308 redirects as 301 redirects (Search Engine Roundtable, 12 July 2021)
- Google says there is no PageRank dilution with 30x redirects (Search Engine Land, 2016)
- 301 Moved Permanently (MDN Web Docs)
- RFC 7538, the 308 Permanent Redirect status code (IETF)







