Transparent Growth Measurement (NPS)

What Is 302? Definition, Examples & Why It Matters [2026]

Contributors: Amol Ghemud
Published: March 12, 2026

Summary

A 302 redirect is an HTTP status code that tells browsers and search engines a webpage has temporarily moved to a different URL. Unlike a 301 (permanent redirect), a 302 signals that the original URL will return, so search engines should keep indexing the original page. Understanding when to use a 302 vs. a 301 is essential for preserving your SEO rankings and ensuring a smooth user experience.

In our work with 150+ clients at upGrowth, we have seen improper redirect implementation cost thousands in lost ranking signals. This guide covers everything you need to know.

Share On:

What Is a 302 Redirect and When Should You Use It?

A 302 status code (officially called “302 Found” or “Moved Temporarily” in HTTP/1.0) is a server response that redirects users from one URL to another on a temporary basis.

When a browser requests a page and receives a 302 response, it follows the redirect to the new URL automatically and displays the content from the new location. The browser keeps the original URL in its records, signaling that the redirect is temporary.

Search engines treat a 302 differently from a 301. According to Google’s official documentation, a 302 indicates the redirect is temporary, so Google will continue to index the original URL rather than replacing it with the destination URL.

302 vs. 301: Key Differences

Feature302 (Temporary)301 (Permanent)
IntentPage will return to original URLPage has permanently moved
SEO equity transferLink equity stays with original URLLink equity passes to new URL
Search engine indexingOriginal URL remains indexedNew URL replaces original in index
Browser cachingNot cached by defaultCached by browsers
Best forA/B tests, maintenance, seasonal contentSite migrations, URL restructuring

How Does a 302 Redirect Work in Technical Terms?

Here is the technical flow of a 302 redirect:

  1. User or bot requests a URL: A visitor types example.com/old-page or clicks a link
  2. Server responds with 302 status: The server sends back a 302 code along with a Location header pointing to the temporary destination
  3. Browser follows the redirect: The browser automatically navigates to the new URL (e.g., example.com/temp-page)
  4. Content loads from the new URL: The user sees the content at the temporary location
  5. Original URL is preserved: Search engines and browsers remember that the original URL is the canonical version

The HTTP response headers look like this:

HTTP/1.1 302 Found

Location: https://example.com/temporary-new-page

When Should You Use a 302 Redirect, With Real Examples?

1. A/B Testing Landing Pages

You are testing two versions of a product page. A 302 redirect sends a portion of traffic to the test variant while keeping the original URL indexed. This is Google’s recommended approach for server-side A/B testing because it preserves SEO value on the original URL.

2. Temporary Maintenance or Downtime

Your checkout page is under maintenance for a few hours. A 302 redirect sends users to a “we will be back soon” page without damaging your rankings or confusing Google about your site’s canonical version.

3. Seasonal or Promotional Campaigns

An e-commerce store redirects /deals to /black-friday-sale during November, then reverts it back to the default deals page in December. The 302 signals to search engines that this change is not permanent.

4. Geolocation-Based Redirects

A global site temporarily redirects users based on their IP to a region-specific version (e.g., /store → /store/in for Indian visitors). The 302 keeps the original URL indexed while showing localized content.

5. Content Under Review or Pending Updates

A blog post is being updated with new data. A 302 sends readers to a related post temporarily while the update is in progress. Once updated, the redirect is removed.

Why Do 302 Redirects Matter for SEO and Site Health?

Using the wrong redirect type is one of the most common technical SEO mistakes we encounter. Here is why it matters:

Using a 302 when you mean 301: Search engines may continue indexing the old URL, splitting your ranking signals across two pages and diluting your page authority.

Chain redirects: Multiple 302s in sequence slow down crawling and dilute link equity with each hop. Google’s John Mueller has stated that redirect chains consume crawl budget unnecessarily.

302 hijacking: In rare cases, search engines may index the destination URL instead of the source, causing the wrong page to rank and confusing your site structure.

Crawl budget waste: Googlebot must follow the redirect chain each time, consuming your site’s crawl budget. For large sites, this adds up quickly.

According to our experience, properly managing redirects can improve crawl efficiency by 20-30% on sites with hundreds of pages.

Best Practice

Use a 302 only when you genuinely intend the redirect to be temporary. If the move is permanent, always use a 301.

How Do You Implement a 302 Redirect at the Server Level?

Apache (.htaccess)

Redirect 302 /old-page https://example.com/new-page

Nginx

location /old-page {

    return 302 https://example.com/new-page;

}

WordPress (via PHP in functions.php)

wp_redirect( ‘https://example.com/new-page’, 302 );

exit;

JavaScript (Client-Side: Not Recommended for SEO)

window.location.replace(“https://example.com/new-page”);

Critical note: Server-side redirects (Apache, Nginx, PHP) are always preferred over client-side redirects for SEO purposes. Client-side redirects fire after the page loads, which can confuse search engines and delay redirect processing.

What Are the Best Practices for 302 Redirects?

  1. Audit regularly: Review your redirects quarterly. If a “temporary” redirect has been active for more than a few months, convert it to a 301.
  2. Avoid redirect chains: Never chain multiple 302s together. Each hop adds latency and confuses crawlers.
  3. Monitor in Google Search Console: Check the Coverage report for redirect-related issues under “Excluded” or “Crawl issues.”
  4. Use server-side redirects: Always implement 302s on the server, not via JavaScript or meta-refresh tags.
  5. Document your redirects: Maintain a redirect map so your team knows which redirects are temporary and when to remove or convert them to 301s.
  6. Test before deploying: Use a tool like Screaming Frog to verify the redirect chain works correctly before going live.

For deeper technical SEO guidance, explore our technical SEO services.

FAQs

Q: What is the difference between a 302 and a 307 redirect?

A: Both are temporary redirects. A 307 strictly preserves the HTTP method (POST stays POST), while a 302 may change the method to GET. For most SEO purposes, they function the same way. Modern browsers treat both as temporary redirects, but 307 is more predictable for form submissions.

Q: Does a 302 redirect pass link juice?

A: Officially, Google says 302 redirects do pass PageRank. However, in practice, a 301 is more reliable for transferring link equity because it clearly signals to search engines that the link is permanent. If you want to preserve ranking signals, always use a 301 for permanent moves.

Q: How long can a 302 redirect stay active?

A: There is no hard limit, but if a 302 is active for more than a few months, Google may start treating it as a 301. It is better to proactively convert long-running 302s to 301s rather than leave them indefinitely.

Q: Can a 302 redirect hurt my rankings?

A: A properly implemented 302 will not hurt rankings. However, using a 302 when a 301 is appropriate can cause indexing confusion and dilute ranking signals over time. The key is using the right redirect type for the situation.

Q: How do I check if my site has 302 redirects?

A: Use tools like Screaming Frog, Ahrefs Site Audit, or Google Search Console to crawl your site and identify all active 302 redirects. Screaming Frog is free and highly effective for this audit.

Q: What’s the impact of 302 redirects on page speed?

A: Each redirect adds 50-100ms of latency as the browser waits for the server response and then makes another request. Minimizing redirect chains improves page speed directly, which is a Google ranking factor.

Q: Should I use a 302 or 301 for an A/B test?

A: Always use 302 for A/B tests. This tells Google that the original URL is still the canonical version and that all ranking signals on the original page are maintained during your test period.

For Curious Minds

A 302 redirect communicates a temporary move through its HTTP status code, instructing clients to visit a new location while keeping the original URL as the canonical source. The server issues a `302 Found` response with a Location header containing the new URL, which browsers follow, but search engines like Google are told not to update their index permanently. This preserves the SEO equity and authority of the original URL, which is essential for temporary content shifts. The technical distinction is vital for protecting your search presence. Here is how it functions:
  • Search Engine Indexing: The 302 code tells crawlers, "This content is over here for a little while, but the true home is the original URL." As a result, Google continues to index and rank the source URL, preventing long-term confusion.
  • Link Equity Preservation: Unlike a 301 redirect that passes link equity to a new page, a 302 ensures that value stays with the original URL. This is ideal for tests or maintenance where the original page must retain its authority.
  • Browser Behavior: Browsers do not permanently cache the redirect by default, which ensures that once you remove the temporary redirect, users are correctly sent back to the original URL without issue.
Properly using this signal prevents accidental damage to your hard-earned rankings. Discover more scenarios where this specific redirect is the right choice by reading the full article.

Generated by AI
View More

About the Author

amol
Optimizer in Chief

Amol has helped catalyse business growth with his strategic & data-driven methodologies. With a decade of experience in the field of marketing, he has donned multiple hats, from channel optimization, data analytics and creative brand positioning to growth engineering and sales.

Download The Free Digital Marketing Resources upGrowth Rocket
We plant one 🌲 for every new subscriber.
Want to learn how Growth Hacking can boost up your business?
Contact Us


Contact Us