Free auditStart free
GlossaryGlossary · Crawling and indexing

302 redirect

A 302 sends visitors to a temporary URL. Learn what Google does with the source and target, when to use 302 vs 301, and how to verify it.

3 min
read
3
sources
Oct 24, 2026
updated
Scaplet Editorial Team
author
In one line

A 302 Found response sends a request to another URL while treating the move as temporary. Google says a 302 does not signal that the target should replace the source as canonical; its crawler-status guide separately describes 302 as a weak signal for processing the target. Use 302 when the original URL should remain the one shown in search, such as during a temporary outage or test.

30-second check

Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Check it

What a 302 tells clients

An HTTP 302 response includes a Location header with the destination. Browsers and crawlers can follow it, but the status says the redirect is temporary. Google says it does not use a 302 as a signal that the target should replace the source as canonical; other canonicalization signals can still lead Google to index the target.
Temporary redirect response
HTTP/1.1 302 Found
Location: https://example.com/maintenance
02At a glance

Use 302 only while the source should return

Situation

A service page is unavailable briefly

Choose
302 or 307
Reason
Send visitors to a status page while retaining the original URL as the intended result
Situation

An experiment temporarily routes visitors to a variant

Choose
302
Reason
Google says to use a 302, not a 301, for a redirect test, because it tells search engines the redirect is temporary
Situation

A page moved for good

Choose
301 or 308
Reason
A permanent redirect is the signal to show the destination instead
Situation

A page has no replacement

Choose
404 or 410
Reason
Google says to return 404 or 410 when no replacement page has similar content

The practical test is whether you expect to restore the original URL. If the move is permanent, update internal links and the sitemap, then use a permanent redirect. See 301 redirect for the migration case.

03Worth knowing

Avoid redirect surprises

Do not use a 302 for a permanent move

The redirect does not tell Google to replace the source with the target as canonical. Google's crawler guide separately describes 302 as a weak signal for processing the target; that is not the canonicalization guidance.

Send users to a relevant destination

If a page is gone and nothing on your site has similar content, Google says to return 404 or 410 rather than redirect.

Keep the chain short

Googlebot generally follows up to 10 redirect hops for general web content, but Google Inspection Tools do not follow redirects and other crawlers can have different limits.

Keep internal links current

Link straight to the final destination so users and crawlers do not need to traverse a temporary redirect on every visit.

04How it works

Verify the response and search signals

  1. 1

    Check the actual response

    Run curl -sSI https://example.com/old-page. Confirm the status is 302 and Location names the intended destination.

  2. 2

    Follow the chain

    Run curl -sSIL https://example.com/old-page and inspect every Location header. Remove loops and unnecessary hops.

  3. 3

    Test Google's view

    Use Search Console URL Inspection to check the source and destination separately. Google's Inspection tools do not follow redirects, so inspect the final URL directly too.

  4. 4

    Remove temporary rules

    When the original page is back, remove the redirect and confirm it returns its normal response. If the move became permanent, replace the temporary status with a 301 or 308.

Questions

Asked a lot.

2 questions people ask next, answered from the sources on this page.

01Will Google replace the source URL with the target after a 302?

A 302 does not tell Google to replace the source with the target as canonical. Other canonicalization signals can still lead Google to select the target.

02Is 302 the same as 307?

Google treats 307 as equivalent to 302 for crawling and indexing. The status codes have distinct HTTP semantics, so use the one that matches your server behavior and intended temporary move.

Sources · 3

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • google.com
  1. 01Redirects and Google Searchdevelopers.google.com · checked 2026-10-24
  2. 02How HTTP Status Codes Affect Google's Crawlersdevelopers.google.com · checked 2026-10-24
  3. 03A/B Testing Best Practices for Searchdevelopers.google.com · checked 2026-10-24
Free · 2 minutes

Know the term. Now check your site.

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly