302 Redirect Definition

A 302 redirect is a temporary redirect: the server answers a request with the HTTP status code 302 (Found) and sends the visitor to another URL, while indicating that the original address will be used again later.

For SEO, the word “temporary” matters. Google generally keeps showing the original URL in its results, because it expects the move to end. Using a 302 for a permanent change, or a 301 for a temporary one, sends the wrong signal.

302 redirect definition

What Is a 302 Redirect?

When a browser or Googlebot requests a URL, the server can answer with a 3xx status code and a Location header containing the new address. The client then requests that new address. The status code tells what kind of move it is:

  • 301 Moved Permanently and 308 Permanent Redirect: the page has moved for good.
  • 302 Found, 303 See Other and 307 Temporary Redirect: the move is temporary.

The 302 is the most common temporary redirect on the web. See also the 301 redirect and HTTP status codes definitions.

📌 In brief
302 redirect definition: what a temporary redirect is, how Google treats it compared with a 301, when to use it, how to set it up and the mistakes to avoid.
On the menu:
  • How Google Treats a 302 Redirect
  • 302 vs 301: Which One to Use?
  • Why the Choice Matters for SEO
  • 302, 303 and 307: The Differences
  • How to Set Up a 302 Redirect
By SeoYass, SEO consultant since 2010 · Updated on

How Google Treats a 302 Redirect

Google’s documentation explains the difference simply: with a permanent redirect, Google tends to show the new target in search results; with a temporary redirect, it tends to show the source page.

For a temporary redirect, Googlebot follows it, but the indexing pipeline does not use it as a signal that the target should become the canonical URL. The target may still be indexed if other signals point to it. In practice, if a 302 stays in place for a long time, Google may eventually treat it like a permanent redirect, but relying on that is risky: the correct code should be chosen from the start.

By default, Google’s crawlers follow up to 10 redirect hops, whatever the type of redirect.

302 vs 301: Which One to Use?

Situation Right redirect
Page moved to a new URL for good 301 (or 308)
Domain change or HTTPS migration 301
Two pages merged into one 301
Page under maintenance for a few days 302 (or 307)
Short promotion page replacing a page temporarily 302
Product temporarily unavailable, shown elsewhere 302
Testing a new version of a page 302

The question to ask is simple: will the original URL be used again? If yes, 302. If no, 301.

Why the Choice Matters for SEO

  • Which URL appears in results: a 302 keeps the old URL in Google, a 301 transfers visibility to the new one.
  • Canonicalization: a 301 is a strong signal for choosing the canonical URL; a 302 is not.
  • Migrations: using 302s during a site migration can delay the replacement of old URLs by new ones in the index.
  • User experience: for visitors, both redirects work the same way; the difference is only for search engines and caches.

302, 303 and 307: The Differences

  • 302 Found: temporary redirect; historically, some browsers changed a POST request into a GET when following it.
  • 303 See Other: tells the client to fetch another resource with GET, often used after submitting a form.
  • 307 Temporary Redirect: temporary redirect that keeps the same request method, defined to remove the ambiguity of 302.

For Google Search, 302, 303 and 307 are all treated as temporary redirects. Note that browsers may show a “307 Internal Redirect” in developer tools when they force HTTPS because of HSTS: it is generated by the browser, not sent by your server.

How to Set Up a 302 Redirect

  • Apache (.htaccess): Redirect 302 /old-page/ https://www.example.com/new-page/
  • Nginx: return 302 https://www.example.com/new-page/; inside the matching location block.
  • WordPress: a redirect plugin lets you choose the code for each redirect; check it, since some default to 301 and others to 302.
  • PHP: header('Location: https://www.example.com/new-page/', true, 302);

Server-side redirects are the most reliable for Google. JavaScript and meta refresh redirects can be followed, but they are interpreted less reliably.

How to Check a Redirect's Status Code

  • Open the browser’s developer tools, Network tab, then load the old URL: the first request shows the status code and the Location header.
  • Use an online HTTP header checker or a command such as curl -I.
  • Run an SEO crawler to list all redirects of a site with their codes, and spot redirect chains.
  • In Search Console, the URL Inspection tool shows which URL Google selected as canonical.

Example: A Restaurant's Temporary Menu

A restaurant in Edinburgh closes its usual menu page during the festival season and shows a special festival menu for three weeks. The team sets a 302 redirect from /menu/ to /festival-menu/. Google keeps /menu/ in its results, and after three weeks the redirect is removed: the usual menu returns at the same address with all its history. Had they used a 301, Google might have started replacing /menu/ with a page that disappears a few weeks later.

Common Mistakes

  • 302 for a permanent move, often because a plugin or developer used the default code.
  • Temporary redirects left for years without review.
  • Redirecting HTTP to HTTPS with a 302 instead of a 301.
  • Chains mixing 302 and 301, which make signals harder to interpret.
  • Linking internally to redirected URLs instead of the final address.

302 Redirect: Key Takeaways

A 302 redirect is a temporary redirect: it sends visitors to another URL while telling search engines the original address will come back. Google generally keeps showing the source URL. Use it for maintenance, short promotions or tests, and use a 301 for any permanent change, such as a new URL, a merger or a migration. Check the status code of every important redirect.

From theory to clean redirects

Knowing what a 302 redirect is is the first step. The next is checking that every redirect on your site uses the code that matches its purpose.

  • An action plan adapted to your situation
  • Clear explanations, no needless jargon
  • Direct application to your sector
302 RedirectDefinitionCustomers ↑
// RESULTS & REFERENCES

From diagnosis to results, step by step

Here is how I handle 302 redirect issues on client sites, and what my clients say about my work.

+350COMPLETED PROJECTS
+320SATISFIED CLIENTS
5.0 ★VERIFIED GOOGLE REVIEWS
+17YEARS OF EXPERIENCE
001REFERENCES / VERIFIED REVIEWS

What Is a 302 Redirect?

When a browser or Googlebot requests a URL, the server can answer with a 3xx status code and a Location header containing the new address. The client then requests that…

EXPERTISEMETHODFIELD WORK
11ACTIVE PROJECTS
5.0GOOGLE RATING
READ THE REFERENCES →
002PORTFOLIO / PROJECTS

How Google Treats a 302 Redirect

Google's documentation explains the difference simply: with a permanent redirect, Google tends to show the new target in search results; with a temporary redirect, it…

EXPERTISEMETHODFIELD WORK
6-12MONTHS FOR SOLID RESULTS
+350COMPLETED PROJECTS
VIEW THE PORTFOLIO →
003METHOD / EXPERTISE

302 vs 301: Which One to Use?

SituationRight redirectPage moved to a new URL for good301 (or 308)Domain change or HTTPS migration301Two pages merged into one301Page under maintenance for a few…

EXPERTISEMETHODFIELD WORK
100%POSITIVE REVIEWS 2026
11ACTIVE PROJECTS
SEE MY SEO SERVICES →
WANT TO BE THE NEXT CASE?Tell me about your project and I will reply with a first diagnosis.
SEND A BRIEFFREE MINI-AUDIT

FAQ: 302 Redirect

What is a 302 redirect?

A temporary redirect: the server returns the status code 302 and sends visitors to another URL, indicating that the original URL will be used again.

Does a 302 redirect hurt SEO?

Not when used for a temporary move. It becomes a problem when used for a permanent change, because Google keeps showing the old URL.

What is the difference between a 301 and a 302 redirect?

A 301 is permanent and signals that the new URL should replace the old one in results. A 302 is temporary and Google generally keeps the original URL.

Does a 302 pass link equity?

Google has said redirects of either type do not lose PageRank, but a 302 does not tell Google to make the target canonical, so the old URL often keeps the visibility.

How long can a 302 redirect stay in place?

There is no fixed limit, but if the move becomes permanent, change it to a 301 rather than letting Google guess.

Is a 307 the same as a 302?

For Google Search both are temporary redirects. The 307 also guarantees the request method is kept, which matters for forms and APIs.

Do you want to work with me?

SeoYass, SEO consultant17+ years of SEO
Your SEO consultant
SeoYass

I am SeoYass, an SEO expert with over 17 years of experience. I have worked with small and medium-sized businesses, successfully completing more than 350 projects.

Passionate about local SEO, I continue to learn and refine my strategies to deliver the best performance for my clients.

350+Projects
5.0 ★Google reviews
17+Years of experience