302 Found

All status codes
3xx · Redirectionretryable

302Found

The requested resource resides temporarily under a different URI. Previously known as 'Moved Temporarily'.

What this code obliges you to do

Retry

Safe to retry

Repeating the same request can succeed, so a client may back off and try again. Honour Retry-After when the response sends one.

Caching

Not cacheable by default

Caches will not store this response unless you send explicit freshness headers saying they may.

Response body

Body allowed

You may return a payload explaining the outcome — for an error, a machine-readable problem document is worth the effort.

Method

May be rewritten to GET

User agents have long rewritten POST to GET when following this code, and the body is dropped. Use 307 or 308 if the method matters.

Indexing

Original URL is kept

A temporary redirect leaves the original URL in the index. Use it for A/B tests, maintenance, and geo or device routing.

When you see it

3
1

Temporary landing pages

2

A/B testing

3

Geo-redirects

Effect on search

Search engines will follow the redirect but won't pass link equity securely. The old URL remains in the index. Use strictly for temporary campaigns.

How to send it

1
Node.js (Express)
res.redirect(302, '/temporary-event-page');

Codes people confuse with this one

2
Class3xx
RetrySafe
CacheNo
BodyAllowed