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
301or308so search engines update their index. - After a form
POST, prefer303 See Other.
Example response
HTTP/1.1 302 Found Location: /login?next=/account Content-Length: 0