302 redirect
A 302 redirect is a temporary move. The resource is elsewhere for now and the original URL should stay indexed. This page shows when to use 302, how Google treats it, how to check it, and the traps to avoid on a small site.
By Théophile Louvart, founder of Porteur · Updated 14 September 2026 · Markdown
What a 302 redirect tells browsers and Google
A 302 tells clients the content moved for now and to keep using the original URL. It is a hint, not a command.
Google treats a 302 as temporary. If you leave it in place for a long time, Google may treat it as permanent and index the target instead. As of 2026, plan your redirects so the signal matches reality.
Good uses on a small site: a maintenance page during deploys, a short campaign to /black-friday, or a geo or device switch when you must move the user. Your canonical URL should still point to the original page for a true temporary move.
302 vs 301 vs 307: which to pick
| Redirect | Use when | Indexing aim | Request method kept |
|---|---|---|---|
| 301 permanent | The move is permanent, like /old-pricing to /pricing | Index the target | No |
| 302 temporary | Short move or conditional routing, like /guide to /maintenance for a day | Keep the source indexed | No |
| 307 temporary | HTTP/1.1 temporary move that preserves the method, useful for POST forms | Keep the source indexed | Yes |
If a page is gone or merged, use 301. If you must switch users for a short time, use 302. If you are redirecting POST or PUT and must keep the method, use 307.
How to check and measure your redirects
Confirm the status code
Use a redirect checker on /pricing or any test URL. You should see 302 with one hop only, source to target.
Check Search Console
Open Indexing, Pages, then filter for Page with redirect. Spot URLs you meant to keep live but are redirecting.
Inspect a single URL
Use the URL Inspection tool on the source and the target. Check which URL Google considers canonical and which is indexed.
Review internal links
Crawl your site and list links pointing to the 302 target. For a short move this is fine. For a permanent move, change links to the target and switch to 301.
Watch effects over 28 days
In the Performance report, track impressions and clicks for the source and target URLs. If a 302 stays, watch for Google indexing the target instead.
A clean setup looks like this: /guides/getting-started 302 to /maintenance for 24 hours, no chains, canonicals unchanged, and you remove the rule after the deploy.
Implementation tips that prevent SEO harm
- Avoid chains and loops. Source should 302 directly to target, once.
- Keep the target crawlable and indexable. Do not noindex the target of a 302.
- Match the canonical. For a true temporary move, keep the canonical on the target pointing to the original source.
- Do not mix signals. Do not pair a 302 with a permanent rel=canonical to the target unless the move is permanent.
- Limit 302s for geo or device. Offer a visible switch and link to the original URL.
- Do not use meta refresh for temporary SEO moves. Use server or app layer redirects.
Common traps with temporary redirects
- Leaving a 302 in place for months, which may lead Google to index the target as if it were permanent.
- Using 302 for URL migrations, which keeps the wrong URL indexed and confuses analytics.
- Redirecting every path to a generic page like /, which frustrates users and makes debugging hard.
- Forgetting HTTPS and trailing slash rules, which create unintended multiple hops.
- Not updating sitemaps, which keeps pointing bots at redirected sources for longer than needed.
Questions
A 302 is a temporary HTTP redirect. It says the content moved for now and the original URL should stay indexed. Google treats it as a hint and may switch to the target if the 302 stays for a long time.
Use 301 for permanent moves. Use 302 for short or conditional moves. A long‑lived 302 can be treated as permanent by Google, so match the code to the intent and length of the change.
307 is the HTTP/1.1 temporary redirect that keeps the request method, useful when redirecting POST forms. 308 is the permanent version that also preserves the method. Pick 307 for temporary, 308 or 301 for permanent.
No. It is the right choice for temporary moves like maintenance or short campaigns. Problems start when you use 302 for permanent changes, or you leave a 302 in place for months.
Keep it as short as the real‑world change. Days or a few weeks is typical. If the move becomes permanent, switch to 301 and update internal links and sitemaps.
Fetch the URL with a redirect checker or curl and confirm a single 302 hop to the right target. Then check Search Console’s Page with redirect and the URL Inspection result for the source and target.
Check my site, free
Porteur can read your site and the searches around it from a URL in about thirty seconds, free, and show three redirect findings to fix now.
- Free check, no card
- Read-only, your own accounts
- Readable by your agent
Read next
- Glossary301 redirect
- GuidePage with redirect in Search Console: normal, until it is not
- Free toolRedirect checker
- GuideHow to use the URL Inspection tool in Search Console
- GuideTechnical SEO checklist for a small site
- GlossaryCanonical URL
- GlossaryHTTPS
- GuideHTTP status codes for SEO: what each one tells Google