Skip to content
3xx Redirection

302 Found

The resource is temporarily at a different URL. Keep using the original URL.

What causes it

  • A post-login redirect back to the requested page.
  • A framework default: most web frameworks send 302 for `redirect()`.

How to fix it

  • Historically, clients rewrote POST to GET on a 302 even though the spec forbade it. Use 303 when you want that behaviour and 307 when you do not.

At a glance

Class
3xx Redirection
Reference
RFC 9110 §15.4.3
Standardised
Yes
Retry the request?
No — fix the request

Other 3xx redirection codes

Back to the full HTTP status code reference