302 Found

HTTP 302 Found is a 3xx redirection status. The resource is temporarily at another URL. The client should keep using the original URL for future requests.

302Status code
3xxRedirection
NoCacheable by default
RFC 9110 §15.4.3Defined in

Common causes

What to do

Use 302 or 307 for temporary moves only; long-lived 302s confuse caching and indexing.

Example response

HTTP/1.1 302 Found
Location: https://example.com/new-path
Content-Length: 0

How to send a 302

nginx    return 302 https://example.com/new-path;
Apache   Redirect 302 /old https://example.com/new-path
Express  res.redirect(302, '/new-path');
PHP      header('Location: /new-path', true, 302);

Other 3xx codes

Frequently asked questions

What does HTTP 302 mean?
The resource is temporarily at another URL. The client should keep using the original URL for future requests.
Is 302 an error?
No. 3xx codes are redirection responses, not errors.