loot.tools
302

Found

3xx Redirection

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

302 Found is a temporary redirect: the resource is somewhere else right now, but the original URL is still the canonical one. Use it for things like sending a logged-out user to a sign-in page. If the move is permanent, use 301 instead so search engines update their index.

What 302 looks like on the wire

GET /promo HTTP/1.1
Host: example.com

HTTP/1.1 302 Found
Location: https://example.com/spring-sale

About 3xx Redirection

Further action is needed to complete the request, usually following a redirect to another URL.

How to fix 302 Found

  • Use 302 only for temporary moves - keep the original URL canonical.
  • Set the Location header to where the client should go now.
  • For permanent moves, switch to 301 so SEO signal transfers.
  • If you need the method preserved on redirect, use 307 instead.

Where it's defined

302 Found is defined in RFC 9110 §15.4.3. MDN's 302 reference covers browser behavior and examples.

Looking for a different one? See the full HTTP status code reference.