# Temporary redirects that should be permanent

> An audit flags a 302 or 307 redirect as temporary. Learn which ones to change to 301 or 308, which to keep, and how to fix and verify them on your server.

Canonical: https://scaplet.com/seo-issues/temporary-redirects

Guide SEO issue · Redirects

An audit flags a 302 or 307 redirect as temporary. Learn which ones to change to 301 or 308, which to keep, and how to fix and verify them on your server.

4 min

read

6

sources

Oct 23, 2026

updated

Scaplet Editorial Team

author

In one line

A temporary redirects warning means a crawler found 302 or 307 responses. Change one to 301 or 308 only if the move is permanent: Google says permanent redirects signal that the target should be canonical, while temporary redirects show the source page in search. Keep a 302 for real tests, outages and per-visitor routing.

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%2Fseo-issues%2Ftemporary-redirects%20(%22Temporary%20redirects%20that%20should%20be%20permanent%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%2Fseo-issues%2Ftemporary-redirects%20(%22Temporary%20redirects%20that%20should%20be%20permanent%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%2Fseo-issues%2Ftemporary-redirects%20(%22Temporary%20redirects%20that%20should%20be%20permanent%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%2Fseo-issues%2Ftemporary-redirects%20(%22Temporary%20redirects%20that%20should%20be%20permanent%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 5 parts, 4 minutes.

1. [What the audit found, and what Google does 01](#what-the-audit-found-and-what-google-does)
2. [Decide: change it or keep it 02](#decide-change-it-or-keep-it)
3. [Find every temporary redirect 03](#find-every-temporary-redirect)
4. [Fix it on your server 04](#fix-it-on-your-server)
5. [Confirm it worked 05](#confirm-it-worked)

_01_Permanent and temporary redirect codes

## What the audit found, and what Google does

The crawler requested a URL and got a 302 (or 307) with a `Location` header. It cannot know whether the move is permanent, so it flags every [temporary redirect](/glossary/302-redirect) for a human to judge. Many are correct.

Code

### 301

Meaning (RFC 9110)

Moved Permanently

What Google does

Target is a canonical signal

Code

### 308

Meaning (RFC 9110)

[Permanent Redirect](/glossary/301-redirect)

What Google does

Target is a canonical signal

Code

### 302

Meaning (RFC 9110)

Found: the target resource resides temporarily under a different URI

What Google does

Source page stays shown; target not a canonical signal

Code

### 307

Meaning (RFC 9110)

Temporary Redirect

What Google does

Source page stays shown; target not a canonical signal

Google's redirect documentation splits the types by outcome. Permanent redirects show the new target in [search results](/glossary/serp); temporary redirects show the source page. For 301 and 308, "the indexing pipeline uses the redirect as a signal that the redirect target should be canonical." For 302, 303 and 307, it does not treat the redirect as that signal, though the target page might still be indexed if other [canonicalization](/glossary/canonical-url) signals are present.

The cost of a wrong 302 is that the old URL can stay in results while the page you wanted people to see sits behind it. For the reverse mistake and the full code reference, read [302 redirect](/glossary/302-redirect) and [301 redirect](/glossary/301-redirect).

_02_Which redirects to change

## Decide: change it or keep it

Ask one question per redirect: will the old URL ever come back? If not, make it permanent.

Situation

### Page moved to a new URL for good

Use

301 or 308

Why

You want the new URL shown and the old one dropped

Situation

### HTTP to [HTTPS](/glossary/https)

Use

301 or 308

Why

Permanent by definition

Situation

### Non-www to www, or the reverse

Use

301 or 308

Why

One host should be canonical

Situation

### Old URL renamed in a redesign or migration

Use

301 or 308

Why

The old URL is not returning

Situation

### Short maintenance page

Use

302 or 307

Why

The original URL returns

Situation

### Redirect test or experiment

Use

302

Why

Google's [A/B testing](/glossary/a-b-testing) guide says to use a 302, not a 301, so search engines keep the original URL in their index

Situation

### Visitor-specific routing (login, language prompt)

Use

302 or 307

Why

The source URL is still the right one for search

**Do not bulk-convert**Changing every 302 to 301 can make a short-lived redirect permanent, and a permanent redirect is a canonical signal for the target. Review the list; convert only the moves that are final.

_03_How it works

## Find every temporary redirect

See the status code and target

```
curl -sI https://example.com/old-page | grep -i -E '^(HTTP|location)'
```

1. 01

### Filter your crawl

Crawl the site and filter response codes to 302 and 307. Export source URL, target URL and where each was linked from.
2. 02

### Check the linking pages

If your own pages link to a redirecting URL, update the link to the final destination instead of relying on the redirect.
3. 03

### Check by hand

Run the command below on any URL. The first line shows the [status code](/glossary/http-status-codes).
4. 04

### Sort by purpose

Mark each as final move, temporary by design, or unknown. Ask the owner about unknowns before touching them.

_04_Checklist

## Fix it on your server

Many servers default to a temporary redirect when you do not name a code, which is how permanent moves end up as 302s. In Apache's `Redirect` directive, the default status is temp (302). In nginx, a `return` whose only parameter is a URL (starting with `http://`, `https://` or `$scheme`) gives a 302, and `rewrite` with the `redirect` flag also returns 302. Name the code every time.

First_1_
**Point to the final URL.** A 301 to a URL that itself redirects creates a [redirect chain](/seo-issues/redirect-chains).

Next_1_
**Do not use JavaScript for a permanent move** when a server-side redirect is possible; see [JavaScript redirects](/seo-issues/javascript-redirects).

Then_1_
**Redirect only where there is a real replacement.** Sending every retired URL to the home page is not a move.

nginx: permanent

```
location = /old-page { return 301 https://example.com/new-page; }
```

Apache: permanent

```
Redirect permanent "/old-page" "https://example.com/new-page"
```

Platforms with a redirect manager usually let you pick the type per rule; set permanent for moves that are final. Google's redirect guide lists server-side redirects first because they are the most reliably interpreted, ahead of meta refresh and JavaScript.

_05_Explained

## Confirm it worked

Re-run the curl command: the first line should read 301 or 308 and the `Location` header should be the final URL. Then recrawl the list and confirm the entries moved out of the 302 filter. In Search Console, inspect the old URL with the URL Inspection tool and watch for the new URL to appear as the canonical in coming weeks. Google's redirect page gives no timeline for this, so check again after a few recrawls rather than expecting a specific date.

Questions

## Asked a lot.

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

_01_ Is a 302 redirect bad for SEO?

Not when the move is temporary. Google says temporary redirects show the source page in search and are not a canonical signal for the target. It is a problem only when a permanent move is left as a 302.

_02_ Should I change all 302 redirects to 301?

No. Change those where the old URL will not return. Keep 302 or 307 for tests, short outages and per-visitor routing.

_03_ What is the difference between a 307 and a 302 redirect?

Both are temporary and Google treats both as showing the source page in search. RFC 9110 says a client must not change the request method when following a 307, while for historical reasons it may on a 302.

_04_ How long should a 301 redirect stay in place?

For a site move, Google's guide says to keep the redirects for as long as possible, generally at least 1 year, so Google can transfer signals to the new URLs. From users' perspective it suggests considering keeping them indefinitely.

Sources · 6

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- google.com
- rfc-editor.org
- apache.org
- nginx.org

1. 01 [Redirects and Google Search](https://developers.google.com/search/docs/crawling-indexing/301-redirects) developers.google.com · checked 2026-10-25
2. 02 [RFC 9110: HTTP Semantics](https://www.rfc-editor.org/rfc/rfc9110) rfc-editor.org · checked 2026-10-25
3. 03 [Apache mod_alias](https://httpd.apache.org/docs/2.4/mod/mod_alias.html) httpd.apache.org · checked 2026-10-25
4. 04 [nginx ngx_http_rewrite_module](https://nginx.org/en/docs/http/ngx_http_rewrite_module.html) nginx.org · checked 2026-10-25
5. 05 [Site moves with URL changes](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes) developers.google.com · checked 2026-10-25
6. 06 [Minimize the impact of A/B testing on Google Search](https://developers.google.com/search/docs/crawling-indexing/website-testing) developers.google.com · checked 2026-10-25

## Keep learning

[All seo issues](/seo-issues)

[Learn Redirect chains Redirects](/seo-issues/redirect-chains) [Related Canonical URL Crawling and indexing](/glossary/canonical-url) [Read next JavaScript redirects Redirects](/seo-issues/javascript-redirects) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in SEO issues
[Soft 404 errors](/seo-issues/soft-404-errors) [Staging site indexed](/seo-issues/staging-site-indexed) [Thin content pages](/seo-issues/thin-content-pages) [Third-party scripts slowing your site](/seo-issues/third-party-scripts)

More in Redirects
[Broken redirects after a migration](/seo-issues/broken-redirects-after-migration) [JavaScript redirects](/seo-issues/javascript-redirects) [Redirect chains](/seo-issues/redirect-chains) [Redirect loops](/seo-issues/redirect-loops) [Redirects to a 404](/seo-issues/redirect-to-404) [Temporary redirects that should be permanent](/seo-issues/temporary-redirects)

Terms on this page
[302 redirect](/glossary/302-redirect) [SERP](/glossary/serp) [Canonical URL](/glossary/canonical-url) [301 redirect](/glossary/301-redirect) [HTTPS](/glossary/https) [A/B testing](/glossary/a-b-testing) [HTTP status codes](/glossary/http-status-codes)

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
