3xx Redirection

HTTP 302 Found

The resource is temporarily at another URL. Clients keep using the original URL for future requests.

302 Found is a temporary redirect: the resource is at the URL in Location for now, but clients should keep using the original URL in the future.

HTTP/1.1 302 Found

When servers send it

  • Sending a user to a login page, or back after logging in.
  • Temporary maintenance pages, A/B tests and geographic routing.

How to handle it

  • Search engines keep the original URL indexed, so do not use 302 for a permanent move.
  • Most clients change a POST into a GET when following 302; use 307 to keep the method.

Related status codes

Other status codes

1xx Informational

2xx Success

3xx Redirection

5xx Server error

Search all HTTP status codes