Explainer

301, 302, 307 and 308 redirects: what each tells Google and when to use it

301 vs 302 redirects, plus 307 and 308: what each tells Google about which URL to show, a simple rule for choosing, and how to plan redirects for a migration.

  • By Working Marketer
  • Published
  • 5 min read

Key takeaways

  • Use a 301 or 308 when a page has moved for good; Google treats the target as the URL to show in search results.
  • Use a 302 or 307 only when the move will be undone; Google usually keeps showing the original URL.
  • Google treats 308 like 301 and 307 like 302, so pick between them based on whether forms or other non-GET requests hit the URL.
  • In a migration, redirect each old URL to its closest new match, avoid chains and keep the redirects for at least a year.
On this page

The difference between 301 vs 302 redirects comes down to one question: is the move permanent? A 301 (or 308) tells Google the new URL should replace the old one in search results. A 302 (or 307) tells Google the move is temporary, so it usually keeps showing the original URL. Decide by whether the old URL will ever come back, not by habit.

This explainer is based on Google’s documentation as of November 2026.

What does each redirect code tell Google?

Google groups redirects into permanent and temporary. According to Google’s page on redirects and Search (opens in a new tab), Googlebot follows both kinds. The difference is what happens next. A permanent redirect is a signal that the target should be the canonical URL, the version Google indexes and shows. A temporary redirect is not used as that signal, although the target can still be indexed if other signals point to it.

Google’s documentation on HTTP status codes (opens in a new tab) calls a 301 a strong signal and a 302 a weak one. It also says Google handles 308 the same as 301 and 307 the same as 302.

Code Meaning How Google treats it Typical marketing use
301 Moved permanently Strong signal to show the target Renamed page, merged content, domain change
308 Permanent redirect Same as 301 Permanent move of a URL that receives form submissions
302 Found Weak signal; the original usually stays in results Short promotion or a temporarily unavailable page
307 Temporary redirect Same as 302 Temporary move of a URL that receives form submissions

Why do 307 and 308 exist?

They exist to fix how browsers handle requests other than plain page loads. The MDN guide to HTTP redirections (opens in a new tab) explains that some browsers may turn a form submission (a POST request) into an ordinary page request when they meet a 301 or 302, so the submitted data may not reach the new URL. A 307 or 308 keeps the original method and body.

For search, Google treats the pairs the same way. Google still suggests using the code that matches the real situation, because the codes mean different things and other clients, such as other search engines, may rely on that difference. Our read: ask your developer for 308 or 307 when the URL handles forms.

A rule for choosing in ten seconds

Ask: “Will this redirect ever be removed so the old URL comes back?”

  • No, the old URL is gone for good. Use a 301 (or 308). Examples: a page slug change, two articles merged into one, an HTTP to HTTPS move.
  • Yes, the old URL will return. Use a 302 (or 307). Examples: a product page sending visitors elsewhere while it is out of service, or a seasonal page pointing to a holding page.
  • Not sure. Use a 302 until you are sure, then switch to a 301. Google advises a permanent redirect only when it will not be reverted.

Our read: a 302 left in place after a permanent change is risky, because Google treats it as temporary and may keep showing the old URL. If you are deciding whether a page should be redirected at all, our guide to updating, merging or removing old content covers that choice.

Which redirect methods does Google read most reliably?

Server-side redirects are the most reliable, according to Google’s redirects page. If you cannot set them up, Google lists fallbacks:

  1. Meta refresh. An instant (zero-second) refresh is read as permanent. A delayed one is read as temporary.
  2. JavaScript redirect. Use it only when neither a server-side redirect nor a meta refresh is possible. Google sees it only if rendering the page succeeds, and rendering can fail.
  3. A plain “we moved” link. Google may treat this as a crypto redirect (its name for a link that tells visitors the page moved), but says not to rely on it unless there is no other option.

How to plan redirects for a site migration

Google’s guide to moving a site (opens in a new tab) recommends server-side permanent redirects from each old URL to its new one. Here is a checklist built from that guidance:

  • Map every URL. Pull old URLs from your sitemaps, analytics, server logs and the links report in Search Console. Include images, videos and PDFs.
  • Redirect to the closest match. Do not send many old URLs to the home page. Google says that can confuse users and may be treated as a soft 404, a page that returns a success code but that Google treats as missing. Redirecting several pages to a single page that now holds their content is fine.
  • Avoid chains. Googlebot follows up to 10 hops, but Google advises pointing straight to the final URL. If a chain cannot be avoided, Google suggests ideally no more than three hops, and fewer than five.
  • Return 404 or 410 for content you drop, instead of redirecting it somewhere unrelated.
  • Update your own links. Point internal links, canonical tags, hreflang annotations, sitemaps and ads at the new URLs. Our internal linking guide shows how to find the links to change.
  • Test the redirects once they are live. Use the URL Inspection tool in Search Console for single pages and command-line tools or scripts for bulk checks. Our technical SEO audit checklist covers redirect checks too.
  • Keep the redirects for at least a year. Google says this gives it time to move signals to the new URLs, and that you may want to keep them for good for visitors.

Permanent redirects do not lose PageRank, Google’s measure of link value. Google says it can take a few weeks or more for a medium-sized site’s new URLs to replace the old ones in results, longer for large sites, and rankings may fluctuate meanwhile. If you are changing hosting or a CDN at the same time, read what Google says about CDN moves first, and change one thing at a time, as Google’s migration guide advises.

Advertisement

Reach marketers while they are doing the work.

Sponsor a topic, a guide or a week of the daily briefing. Text-first placements, clearly labelled, no tracking scripts.

See advertising options

Sources

  1. Redirects and Google Search (opens in a new tab) (Google Search Central)
  2. How HTTP status codes affect Google's crawlers (opens in a new tab) (Google for Developers)
  3. How to move a site (opens in a new tab) (Google Search Central)
  4. Redirections in HTTP (opens in a new tab) (MDN Web Docs)

Standards and corrections

Claims are linked to the sources listed above so you can check them yourself. Our standards are set out in the editorial policy. Found a mistake? Send us a correction.