Free auditStart free
GuideSEO issue · Redirects

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.

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 withChatGPTClaudePerplexityGoogleAI Mode
02Which 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

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 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
03How 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.

  4. 04

    Sort by purpose

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

04Checklist

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.
First1
Point to the final URL. A 301 to a URL that itself redirects creates a redirect chain.
Next1
Do not use JavaScript for a permanent move when a server-side redirect is possible; see JavaScript redirects.
Then1
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.

05Explained

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.

01Is 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.

02Should 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.

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

04How 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. 01Redirects and Google Searchdevelopers.google.com · checked 2026-10-25
  2. 02RFC 9110: HTTP Semanticsrfc-editor.org · checked 2026-10-25
  3. 03Apache mod_aliashttpd.apache.org · checked 2026-10-25
  4. 04nginx ngx_http_rewrite_modulenginx.org · checked 2026-10-25
  5. 05Site moves with URL changesdevelopers.google.com · checked 2026-10-25
  6. 06Minimize the impact of A/B testing on Google Searchdevelopers.google.com · 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