Free auditStart free
GuideError · HTTP status codes

HTTP 302 Found

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.

3 min
read
6
sources
Oct 21, 2026
updated
Scaplet Editorial Team
author
The short answer

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.

  1. What a 302 response means
  2. Why you are seeing a 302 and what to do
  3. 302 vs 301, 303 and 307
  4. Set or remove a 302 on your server
  5. What it does to SEO
30-second check

Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Check it

What a 302 response means

RFC 9110 defines 302 as meaning "the target resource resides temporarily under a different URI". Because the redirection might change, "the client ought to continue to use the target URI for future requests." The server SHOULD include a 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.

A 302 exchange
GET /account HTTP/1.1
Host: example.com

HTTP/1.1 302 Found
Location: https://example.com/login
02Common reasons for a 302

Why you are seeing a 302 and what to do

Situation

Login or session gate

Who causes it
The application
What to do
Sign in; the app sends you back to the page you wanted.
Situation

Language or region routing

Who causes it
App or CDN rule
What to do
Open the localized URL directly.
Situation

Maintenance or test redirect

Who causes it
Site owner
What to do
Wait, or retry the original URL later.
Situation

Wrong code on a permanent move

Who causes it
Server or CMS default
What to do
Change to 301 or 308.
Situation

Scripted client stops at 302

Who causes it
Your client
What to do
Enable redirect following; with curl, add -L.

An endless bounce between two URLs is a redirect loop. Test it in a private window to rule out stored cookies.

04Check it

Set or remove a 302 on your server

Apache: mod_alias
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.

nginx: a temporary redirect
location = /sale {
    return 302 https://example.com/spring-sale;
}
05Explained

What it does to SEO

Google says a 302 keeps the source page in search results, and its indexing pipeline does not use it as a signal that the target is canonical, although the target may still be indexed if other signals point to it. Its crawler guide calls 302 a weak signal. A 302 left on a page that really moved can keep the old URL in results. See temporary redirects, redirect chains and the 302 redirect glossary entry, plus Google's redirects documentation.
Questions

Asked a lot.

4 questions people ask next, answered from the sources on this page.

01Why 302 instead of 200?

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.

02What is 302 used for?

Temporary moves: login gates, tests, maintenance pages and per-visitor routing. RFC 9110 says the client should keep using the original URL.

03When should I use 301 vs 302?

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.

04What is the difference between 302 and 304?

A 302 redirects the client elsewhere. A 304 tells the client its cached copy is still valid and no content is sent.

Sources · 6

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • rfc-editor.org
  • mozilla.org
  • google.com
  • nginx.org
  • apache.org
  1. 01RFC 9110: HTTP Semantics, Redirection 3xxrfc-editor.org · checked 2026-10-25
  2. 02MDN: 302 Founddeveloper.mozilla.org · checked 2026-10-25
  3. 03Redirects and Google Searchdevelopers.google.com · checked 2026-10-25
  4. 04How HTTP status codes affect Google's crawlersdevelopers.google.com · checked 2026-10-25
  5. 05nginx: ngx_http_rewrite_module, returnnginx.org · checked 2026-10-25
  6. 06Apache HTTP Server 2.4: mod_alias, Redirecthttpd.apache.org · checked 2026-10-25
Free · 2 minutes

Tools point. Agencies advise. This one ships.

Run the free audit, then approve the fixes. Every change can be undone.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane