301
- Meaning (RFC 9110)
- Moved Permanently
- What Google does
- Target is a canonical signal
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.
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.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
Location header. It cannot know whether the move is permanent, so it flags every temporary redirect for a human to judge. Many are correct.Google's redirect documentation splits the types by outcome. Permanent redirects show the new target in search results; 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 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 and 301 redirect.
curl -sI https://example.com/old-page | grep -i -E '^(HTTP|location)'Crawl the site and filter response codes to 302 and 307. Export source URL, target URL and where each was linked from.
If your own pages link to a redirecting URL, update the link to the final destination instead of relying on the redirect.
Run the command below on any URL. The first line shows the status code.
Mark each as final move, temporary by design, or unknown. Ask the owner about unknowns before touching them.
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.location = /old-page {
return 301 https://example.com/new-page;
}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.
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.
4 questions people ask next, answered from the sources on this page.
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.
No. Change those where the old URL will not return. Keep 302 or 307 for tests, short outages and per-visitor routing.
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.
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.
Run the free audit, then approve the fixes. Every change can be undone.