@http · HTTP status codes, explained HTTP/1.1 302 Found ━━━━━━━━━━━━━━━━━━ 3xx · Redirection The resource is temporarily at another URL. WHAT IT MEANS ──────────────────────────────────────────────────────────── The resource is temporarily at the URL in Location. Clients should keep using the original URL for future requests. For historical reasons, browsers change a POST into a GET when following it. Use 307 to keep the method, or 303 to make the switch to GET explicit. WHY YOU'RE SEEING IT ───────────────────────────────────────────────────── → Sending users to a login page. → A/B tests, geo or language redirects. → The default redirect in many frameworks. HOW TO FIX IT ──────────────────────────────────────────────────────────── → If the move is permanent, use 301 or 308 so search engines update their index. → After a form POST, prefer 303 See Other. EXAMPLE RESPONSE ───────────────────────────────────────────────────────── HTTP/1.1 302 Found Location: /login?next=/account Content-Length: 0 related 303 See Other   307 Temporary Redirect   301 Moved Permanently spec RFC 9110 §15.4.3 https://www.rfc-editor.org/rfc/rfc9110#section-15.4.3 web https://athttp.com/302 ← curl athttp.com/301 curl athttp.com/303 →