Login or session gate
- Who causes it
- The application
- What to do
- Sign in; the app sends you back to the page you wanted.
HTTP 302 Found is a temporary redirect. Learn why you see it, how it differs from 301, 303 and 307, and how to set or remove it in nginx and Apache.
HTTP 302 Found means the requested URL is temporarily at a different address, given in the Location header, and the client should keep using the original URL. The server or a login, CDN or app rule sends it, usually on purpose. Use it for short detours and tests, not for moves you intend to keep.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
Location header. In plain terms, a 302 says to go there this time, and ask here again next time.Nothing is broken when you see a 302. Login gates, language routing and maintenance pages are common reasons a site sends one.
GET /account HTTP/1.1
Host: example.com
HTTP/1.1 302 Found
Location: https://example.com/login-L.An endless bounce between two URLs is a redirect loop. Test it in a private window to rule out stored cookies.
RFC 9110 says a client MAY change POST to GET after a 302 "for historical reasons" and points to 307 if that is undesired. MDN adds that 302 and 307 are identical for GET, and that 303 is the choice when you want any method turned into a GET, such as a confirmation message after a PUT.
Redirect temp "/sale" "https://example.com/spring-sale"In nginx, return takes a redirect URL for 301, 302, 303, 307 and 308, and a URL given alone defaults to 302. In Apache, Redirect with no status returns 302, because "temp" is the default. That means an unspecified redirect in either server is temporary. If you meant a permanent move, say so explicitly. Check the result with curl -sI https://example.com/sale.
location = /sale {
return 302 https://example.com/spring-sale;
}4 questions people ask next, answered from the sources on this page.
The server chose to send you to another URL for this request instead of returning content at the one you asked for. The new address is in the Location header.
Temporary moves: login gates, tests, maintenance pages and per-visitor routing. RFC 9110 says the client should keep using the original URL.
Use 301 when the move is permanent and 302 when it is temporary. Google's indexing pipeline uses a permanent redirect as a signal that the target should be canonical, and doesn't use a temporary one that way.
A 302 redirects the client elsewhere. A 304 tells the client its cached copy is still valid and no content is sent.
Run the free audit, then approve the fixes. Every change can be undone.