302 Redirect
HTTP 302 (Found) is a temporary redirect used for short-lived changes, A/B tests, and maintenance. Use 301 for permanent moves.
Definition
A 302 redirect is an HTTP status code indicating a temporary move to another URL. The original URL isn’t considered permanently replaced, so its canonicalization behavior differs from a 301.
Why it matters
- Great for temporary scenarios: campaigns, A/B tests, maintenance
- Avoids permanently replacing the original URL (use 301 for migrations)
- For locale routing, prefer hreflang and stable URLs over forced redirects
How to implement
- Use only when the change is truly temporary; otherwise switch to 301
- Avoid loops and excessive redirect logic
- For i18n, rely on hreflang and clean URL structures rather than hard 302s
Examples
http
HTTP/1.1 302 Found
Location: https://example.com/promoRelated
Tutorials
Tools
FAQ
Common questions about this term.