302 redirect, n.

What is a 302 redirect?

An HTTP status code for a temporary redirect: the URL has moved for now, but the original should stay indexed.

Filed under redirects and status codes in the SEO glossary

Try the free redirect checker

What a 302 redirect means

HTTP status 302 "Found" sends the visitor to the URL in the Location header but signals that the move is temporary. Browsers do not cache it permanently, and search engines normally keep the original URL in their index.

Historically, browsers turned a POST into a GET when following a 302. HTTP/1.1 added the 307 redirect for temporary redirects that must keep the request method.

When a 302 is the right choice

Use a 302 for moves you will undo: a seasonal landing page, a product that is out of stock for a week, an A/B test, geo or language detection that sends visitors to a local version, or a login wall that returns the visitor afterwards.

If the old URL is never coming back, use a 301 redirect. A 302 left in place for months is one of the most common redirect mistakes found in audits.

How Google treats a long-lived 302

Google says it passes ranking signals through 302 redirects just as it does through 301s. When a 302 stays in place for a long time, Google may decide the move is really permanent and index the target URL instead.

The risk is ambiguity: for a while Google may keep showing the old URL, or switch between the two. Stating your intent with the right code avoids that.

Example

The HTTP response of a 302:

HTTP/1.1 302 Found
Location: https://example.com/summer-sale
Cache-Control: no-cache
Check it on your site: Redirect checkerTrace every hop of a redirect chain and test http, https and www. Free, no signup.
Questions

Frequently asked questions

Is a 302 redirect bad for SEO?

No, when the move is genuinely temporary. It only causes problems when a permanent move is set up as a 302, because search engines may keep the old URL indexed.

What is the difference between 301 and 302?

A 301 says the URL moved permanently, so search engines index the new URL. A 302 says the move is temporary, so they keep the original URL indexed.

Why does my CMS create 302 redirects?

Many frameworks and plugins default to 302 because it is safe while testing. Check the setting and switch permanent redirects to 301.

Related terms

Keep learning

Full SEO glossary

More free tools

Check the rest of your SEO

All free SEO tools

Find every issue like this across your site

Fix it automatically, then see what the fix earned.

  • The AI drafts the fix for every issue like this across your site, ranked by impact
  • Approve it and the free WordPress plugin publishes it, with one-click undo
  • 28 days later, the clicks each fix earned, from your own Search Console
Fix my site free Free plan, no card · not on WordPress? Copy each fix in