HTTP 302 Found — What It Means

What HTTP status code 302 Found means, when servers return it, and how to handle it correctly.

Published September 23, 2026

HTTP 302 Found is a temporary redirect: the resource is currently at another URL given in Location, but clients should keep using the original URL in the future.

What it means

Common after login or for A/B routing. Historically clients changed POST to GET; use 307 to keep the method.

Common causes: Post-login redirects; Temporary maintenance pages; Geo or language routing.

On the wire

GET /dashboard HTTP/1.1
HTTP/1.1 302 Found
Location: /login
A typical 302 exchange.

Practical examples

Test it from the shell

curl -i https://example.com/path   # look for HTTP 302

Handling 302 in code or config

res.redirect(302, '/login')

How to fix it

Use 301 for permanent moves; Use 307 to preserve method; Avoid redirect loops.

1. Reproduce: curl -i <url>
2. Confirm the status is 302
3. Apply the fix above and re-test

Common mistakes

  • Treating this as an error when it is a normal part of HTTP.
  • Use 307 to preserve method
  • Ignoring the response headers that explain the details.

Key takeaways

  • 302 means Found.
  • HTTP 302 Found is a temporary redirect: the resource is currently at another URL given in Location, but clients should keep using the original URL in the future.
  • Read the response headers and logs for the exact cause.

FAQ

Does 302 pass SEO value?

Not as strongly as a 301, since it signals a temporary move.

Is 302 a client or server error?

It is a redirection status code, in the 3xx class.

More HTTP articles