What is a 302 redirect? Definition, SEO impact and when to use it

A 302 redirect is an HTTP response with the status code 302 Found that tells browsers and crawlers a page has moved to another URL only temporarily. The target address is sent in the Location header, and the browser loads it automatically. The code is defined in RFC 9110, and Google groups it with 303 and 307 as the 3 temporary redirect codes it recognises.

Updated: 17 October 20263 min read
302 redirect vs 301 redirect: how Google treats temporary and permanent redirects
Source: Google Search Central; MDN Web Docs; RFC 9110

How does a 302 redirect work?

A 302 redirect works by answering a request with status 302 and a Location header that points to the new URL. The browser then requests that new address on its own, so the user rarely notices the hop. According to MDN Web Docs, a browser that gets a 302 after a POST request may repeat it as GET, which is why developers use 307 when the method has to stay the same.

How does Google treat a 302 redirect?

Google follows a 302 but does not use it as a signal that the target URL should become canonical. Google Search Central explains that with temporary redirects the source page usually stays in search results, while the target can still be indexed if other canonical signals point to it. A 301 or 308 works the opposite way: the new URL replaces the old one in results.

Link equity is not the issue it used to be. In July 2016 Gary Illyes of Google stated that 30x redirects no longer lose PageRank, as reported by Search Engine Land. The real risk of a wrong 302 is that Google keeps showing the old URL and splits signals between two addresses, which wastes crawl budget.

302 vs 301 redirect

The difference between 302 and 301 is the intent you communicate: temporary versus permanent. Choose the code by asking whether the old URL will come back.

302 Found301 Moved Permanently
Meaningtemporary movepermanent move
URL shown in Googleusually the source URLthe target URL
Canonical signalnoyes
Typical usemaintenance, short promotions, testsdomain migration, new URL structure, HTTPS
Method-safe twin307 Temporary Redirect308 Permanent Redirect

When should you use a 302 redirect?

Use a 302 redirect only when the original URL will return within a defined time. Typical cases:

  • Maintenance: a product or service is temporarily unavailable and you send visitors to an explanation page.
  • Seasonal campaigns: a category page points to a limited promotion for a few weeks.
  • A/B tests: a share of traffic goes to a test variant to measure conversion.
  • Out-of-stock products: a product page points to a replacement until stock returns.

Google also lists a meta refresh with a delay above 0 seconds as a temporary redirect, but server-side redirects have the best chance of being read correctly.

How to set up a 302 redirect

A 302 redirect is set up on the server or in the application, before any page content is sent. The most common methods:

  • Apache: a line in .htaccess such as “Redirect 302 /old-page /new-page”.
  • Nginx: a rule “return 302 /new-page;” inside the location block.
  • PHP: a header call with the Location header and the 302 code.
  • WordPress and Shopify: redirect plugins or built-in URL redirect settings, where you pick the code from a list.

After deployment, check the response code with the browser developer tools or the URL Inspection tool in Google Search Console, because many plugins silently fall back to 302.

Common 302 mistakes in SEO

The most common 302 mistake is using it for a permanent change because a CMS or plugin sets it by default. In e-commerce SEO audits I regularly see:

  • Migrations: HTTP to HTTPS or domain moves done with 302 instead of 301.
  • Language redirects: automatic 302 jumps by IP that hide language versions from crawlers and conflict with hreflang.
  • Chains: several hops in a row that slow down crawling.
  • Forgotten temporary redirects: campaigns that ended months ago but still redirect.
Pro tip: Crawl your site with Screaming Frog or a similar tool and filter all 302 responses. For each one, ask whether the old URL will come back within weeks. If the answer is no, switch it to a 301 and update internal links to point straight at the final URL.

Frequently asked questions about 302 redirect

What does a 302 redirect mean?

A 302 redirect means the requested page has moved to another URL temporarily. The server returns status 302 Found with the new address in the Location header, and the browser loads it automatically.

Is a 302 redirect bad for SEO?

No, a 302 is not bad when the move is truly temporary. It becomes a problem when used for a permanent change, because Google keeps the old URL in results and does not treat the target as canonical.

What is the difference between 302 and 307?

Both codes mean a temporary redirect and Google treats them the same way. The difference is technical: after a 307 the browser must keep the original HTTP method, while after a 302 a POST may be changed to GET.

How long can a 302 redirect stay in place?

A 302 should stay only as long as the temporary situation lasts. If the old URL will not return, replace the 302 with a 301 so Google moves its signals to the new address.

Related terms

International SEO · AI SEO (GEO)

Grow in every market, and get cited by AI

Redirects decide which language and country version Google shows, and a wrong status code can hide a whole market. I audit redirects, hreflang and migrations for international sites so every version gets indexed and cited correctly, also in AI search.

I help SaaS and e-commerce brands win organic traffic across Europe and the US, and get their brand recommended in ChatGPT, Gemini, Perplexity and Google AI Overviews. Every project starts with a free audit of your site, your markets and your visibility in AI answers.

Write to Adrian

Have a question about this term or your SEO?

Send a short message about your website, the markets you sell in and what you want to achieve. You get a reply from me, not from a sales team.

  • Free preliminary SEO and AI visibility audit
  • Strategy for international and multilingual markets
  • Reply within one business day
Book a free call
Adrian Dąbrowiecki

Write to Adrian

Adrian Dąbrowiecki · Marketer Coffee

Tell me about your site and your goals. I usually reply within one business day.