# 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.

Canonical: https://scaplet.com/errors/http/302

Guide Error · HTTP status codes

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

302 3xx · Redirection

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](#what-a-302-response-means)
2. [Why you are seeing a 302 and what to do](#why-you-are-seeing-a-302-and-what-to-do)
3. [302 vs 301, 303 and 307](#302-vs-301-303-and-307)
4. [Set or remove a 302 on your server](#set-or-remove-a-302-on-your-server)
5. [What it does to SEO](#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 with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F302%20(%22HTTP%20302%20Found%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F302%20(%22HTTP%20302%20Found%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F302%20(%22HTTP%20302%20Found%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F302%20(%22HTTP%20302%20Found%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

_01_Check 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
```

_02_Common 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](/errors/http/301) or [308](/errors/http/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](/seo-issues/redirect-loops). Test it in a private window to rule out stored cookies.

_03_Redirect status codes at a glance

## 302 vs 301, 303 and 307

Code

### [301](/errors/http/301)

Meaning

Permanent

Method on redirect

May change POST to GET

Typical use

Page or site moved for good

Code

### [308](/errors/http/308)

Meaning

Permanent

Method on redirect

Must not change

Typical use

Permanent move that keeps POST

Code

### [302](/errors/http/302)

Meaning

Temporary

Method on redirect

May change POST to GET

Typical use

Short detour, test, outage

Code

### [307](/errors/http/307)

Meaning

Temporary

Method on redirect

Must not change

Typical use

Temporary move that keeps POST

Code

### [303](/errors/http/303)

Meaning

See other resource

Method on redirect

Retrieval (GET or HEAD)

Typical use

Send the browser to a result page after a POST

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.

_04_Check 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; }
```

_05_Explained

## What it does to SEO

Google says a 302 keeps the source page in [search results](/glossary/serp), 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](/seo-issues/temporary-redirects), [redirect chains](/seo-issues/redirect-chains) and the [302 redirect](/glossary/302-redirect) [glossary](/glossary/glossary-page) entry, plus Google's [redirects documentation](https://developers.google.com/search/docs/crawling-indexing/301-redirects).

Questions

## Asked a lot.

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

_01_ Why 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.

_02_ What 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.

_03_ When 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](/glossary/301-redirect) as a signal that the target should be canonical, and doesn't use a temporary one that way.

_04_ What is the difference between 302 and 304?

A 302 redirects the client elsewhere. A [304](/errors/http/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. 01 [RFC 9110: HTTP Semantics, Redirection 3xx](https://www.rfc-editor.org/rfc/rfc9110#name-302-found) rfc-editor.org · checked 2026-10-25
2. 02 [MDN: 302 Found](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/302) developer.mozilla.org · checked 2026-10-25
3. 03 [Redirects and Google Search](https://developers.google.com/search/docs/crawling-indexing/301-redirects) developers.google.com · checked 2026-10-25
4. 04 [How HTTP status codes affect Google's crawlers](https://developers.google.com/crawling/docs/troubleshooting/http-status-codes) developers.google.com · checked 2026-10-25
5. 05 [nginx: ngx_http_rewrite_module, return](https://nginx.org/en/docs/http/ngx_http_rewrite_module.html) nginx.org · checked 2026-10-25
6. 06 [Apache HTTP Server 2.4: mod_alias, Redirect](https://httpd.apache.org/docs/2.4/mod/mod_alias.html) httpd.apache.org · checked 2026-10-25

## Keep learning

[All errors](/errors)

[Learn HTTP 303 See Other HTTP status codes](/errors/http/303) [Related Temporary redirects that should be permanent Redirects](/seo-issues/temporary-redirects) [Read next HTTP 307 Temporary Redirect HTTP status codes](/errors/http/307) [Do Run a free site audit Free, about two minutes](/site-audit)

More in HTTP status codes
[505 HTTP Version Not Supported](/errors/http/505) [506 Variant Also Negotiates](/errors/http/506) [507 Insufficient Storage](/errors/http/507) [508 Loop Detected](/errors/http/508) [510 Not Extended](/errors/http/510) [511 Network Authentication Required](/errors/http/511) [5xx errors](/errors/http/5xx-errors) [HTTP 200 OK](/errors/http/200) [HTTP 201 Created](/errors/http/201) [HTTP 204 No Content](/errors/http/204) [HTTP 206 Partial Content](/errors/http/206) [HTTP 301 Moved Permanently](/errors/http/301) [HTTP 302 Found](/errors/http/302) [HTTP 303 See Other](/errors/http/303) [HTTP 304 Not Modified](/errors/http/304) [HTTP 307 Temporary Redirect](/errors/http/307) [HTTP 308 Permanent Redirect](/errors/http/308) [HTTP 400 Bad Request](/errors/http/400) [HTTP 401 Unauthorized](/errors/http/401) [HTTP 405 Method Not Allowed](/errors/http/405) [HTTP 407 Proxy Authentication Required](/errors/http/407) [HTTP 408 Request Timeout](/errors/http/408) [HTTP 409 Conflict](/errors/http/409) [HTTP 412 Precondition Failed](/errors/http/412)

Terms on this page
[302 redirect](/glossary/302-redirect) [SERP](/glossary/serp) [Glossary page](/glossary/glossary-page) [301 redirect](/glossary/301-redirect)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

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

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
