What Is 302 Found
Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.
Last updated: April 15, 2026
Key Facts
- The 302 status code was defined in RFC 1945 in 1996
- It triggers a temporary redirect without changing the original URL
- Search engines do not index 302 redirect pages by default
- The Location header specifies the temporary redirect destination
- 302 Found is part of the 3xx HTTP status code family
Overview
The 302 Found status code is an HTTP response indicating that the requested resource has been temporarily moved to a different URL. Unlike permanent redirects, 302 does not transfer SEO value or update bookmarks, preserving the original address for future use.
Developers use 302 redirects during maintenance, A/B testing, or regional routing. Since the redirect is temporary, clients continue to use the original URL for subsequent requests.
- Definition: 302 Found is an HTTP status code signaling a temporary redirect to a different URI while keeping the original URL active.
- Standard: It was formally defined in RFC 1945, published in May 1996, as part of the HTTP/1.0 specification.
- Behavior: When a server returns 302, it includes a Location header specifying the temporary destination URL for the client to follow.
- SEO Impact: Search engines like Google treat 302 as non-indexable, meaning the redirect target does not inherit the original page's ranking signals.
- Use Case: It is commonly used in session-based routing, such as redirecting users to region-specific pages during product launches or promotions.
How It Works
When a client sends an HTTP request and the server responds with a 302 status, it instructs the browser to fetch the resource from a new location temporarily. This process occurs behind the scenes, with minimal user disruption.
- Client Request: A user navigates to example.com/login, and the server responds with a 302 status and a Location: example.com/new-login header.
- Server Response: The server sends a 302 Found status line followed by headers, including Location, in the HTTP response message.
- Location Header: This header contains the temporary URL; for example, Location: https://us.example.com during geo-based redirection.
- Browser Action: The browser automatically follows the redirect URL but continues to display the original address in the address bar if configured.
- Cache Behavior: Unlike 301, 302 responses are not cached by default unless explicitly allowed by Cache-Control or Expires headers.
- Idempotency: Repeating a 302 request is safe, as it does not alter server state, making it suitable for GET-based operations.
Comparison at a Glance
Understanding how 302 compares to other redirect types clarifies its role in web architecture.
| Code | Type | SEO Impact | Caching | Use Case |
|---|---|---|---|---|
| 301 | Permanent | Full link equity transfer | Cached by default | Domain migration |
| 302 | Temporary | No equity transfer | Not cached by default | A/B testing |
| 303 | See Other | Redirects POST to GET | Varies | Form submissions |
| 307 | Temporary (strict) | No equity transfer | Not cached | Preserve method & body |
| 308 | Permanent (strict) | Full equity transfer | Cached | Method-preserving 301 |
While 302 and 307 both handle temporary redirects, 307 strictly preserves the HTTP method and request body, unlike 302, which may change POST to GET in some clients. This distinction is critical for API design and form handling.
Why It Matters
The 302 Found status code plays a vital role in dynamic web environments where temporary routing decisions are required without altering long-term SEO or user bookmarks.
- Maintenance Mode: Sites use 302 to redirect users to a holding page during backend updates while preserving original URLs.
- Geolocation: E-commerce platforms redirect users to region-specific domains using 302 without affecting global SEO rankings.
- A/B Testing: Marketers route traffic to alternate versions of a page using 302 to avoid diluting SEO authority.
- Session Management: After login, users may be redirected via 302 to a dashboard, ensuring the redirect is not cached or indexed.
- Security: Sensitive endpoints can use 302 to obscure URLs, though this offers minimal protection without additional measures.
- Mobile Detection: Servers redirect mobile users to mobile-optimized sites temporarily based on user-agent detection.
Understanding when to use 302 versus permanent redirects ensures proper SEO handling and user experience across platforms.
More What Is in Daily Life
Also in Daily Life
More "What Is" Questions
Trending on WhatAnswers
Browse by Topic
Browse by Question Type
Sources
- WikipediaCC-BY-SA-4.0
Missing an answer?
Suggest a question and we'll generate an answer for it.