The 302 meaning in HTTP is a temporary redirect: a 302 (Found) sends visitors to another URL while clients keep using the original. Google usually keeps the original page in search, which suits A/B tests and short promotions; permanent moves need a 301 or 308.
In This Article
Share On:
Spotted a 302 in a crawl report or your browser’s network tab? The 302 meaning is simple: the page you asked for is temporarily at a different address, and the server is pointing you there.
It matters for SEO: use a 302 for a permanent move and Google may keep showing the old URL. Below you’ll find the 302 meaning, 5 examples, a 302 vs 301 vs 307 vs 308 table and setup code.
A 302 (Found) is an HTTP redirect status code that says the requested page temporarily lives at a different URL. The server sends the new address in a Location header, the browser follows it automatically, and clients should keep using the original URL for future requests.
That’s the core of the 302 meaning: RFC 9110 says “the client ought to continue to use the target URI for future requests.”
302 Found vs 302 Moved Temporarily
Same code, 2 names. HTTP/1.0 (RFC 1945) called it “302 Moved Temporarily”. Today it’s 302 Found, the name used on MDN’s 302 reference.
Is a 302 an error?
No. It’s in the 3xx redirection class, not the 4xx or 5xx error classes. It causes trouble only as the wrong redirect type, in a long chain or in a loop. Our 302 Found HTTP status code guide goes deeper.
How Does a 302 Redirect Work?
The server answers with status 302 plus a Location header, and the browser immediately requests the URL in that header. The original URL stays the one to use next time.
Request: a visitor or bot requests example.com/old-page.
302 response: the server returns 302 Found with a Location header.
Redirect: the browser automatically requests the Location URL.
Content loads: the visitor sees the temporary page.
Original URL kept: clients keep using the original URL, and Google Search usually keeps showing it.
HTTP/1.1 302 Found
Location: https://example.com/temporary-new-page
302 vs 301 vs 307 vs 308: What’s the Difference?
301 and 308 are permanent; 302 and 307 are temporary. 307 and 308 must keep the request method and body, while 301 and 302 let a POST become a GET. Google treats 307 like 302 and 308 like 301.
302 vs 301 vs 307 vs 308: redirect status codes compared (sources: RFC 9110, MDN Web Docs, Google Search Central)
Status code
Type
Request method
Cacheable by default (RFC 9110)
Google Search treatment
Best for
301 Moved Permanently
Permanent
May change POST to GET
Yes
Strong signal; target shown in results
Site migrations, changed URLs
302 Found
Temporary
May change POST to GET
No
Weak signal; source page usually stays in results
A/B tests, short promotions
307 Temporary Redirect
Temporary
Must keep method and body
No
Equivalent to 302
Temporary moves for forms, APIs
308 Permanent Redirect
Permanent
Must keep method and body
Yes
Equivalent to 301
Permanent moves for forms, APIs
302 vs 301
A 301 says the resource “has been assigned a new permanent URI”. MDN notes search engines pass SEO ranking to the new URL after a 301, but not after a 302. See our 301 redirects guide.
302 vs 307
Both are temporary. For historical reasons, RFC 9110 lets a browser change a POST to GET after a 302, while a 307 guarantees the method and body stay unchanged. Google handles both the same way.
Where 304 fits
A 304 Not Modified is also 3xx, but it points the browser to its cached copy, not a new URL. See our 304 status code guide.
When Should You Use a 302 Redirect? 5 Examples
Use a 302 only when you plan to bring the original URL back. If the move is permanent, use a 301 or 308.
1. A/B testing landing pages
Google’s A/B testing guidance says to redirect visitors to test variants with a 302, not a 301, add rel=”canonical” on variants pointing to the original, and remove test elements once the test ends.
2. A temporarily unavailable page
Checkout is down for a few hours? Google’s redirects documentation suggests a temporary redirect to a page explaining what’s happening. For a whole site offline for 1-2 days, Google recommends a 503 instead.
3. Seasonal promotions
An ecommerce store redirects /deals to /black-friday-sale during November, then removes the redirect in December.
4. Pages under revision
A post is being rebuilt with new data. A 302 sends readers to a related post until the update is live.
5. Location or language redirects (with care)
Sending Indian visitors from /store to /store/in is common, but Google advises against redirecting users based on their assumed language, since it can hide versions from users and search engines. Use language links and hreflang.
Why Does a 302 Redirect Matter for SEO?
Google follows a 302 but doesn’t treat it as a reason to make the destination canonical, so the original URL usually stays in search results. That’s ideal for a temporary move and harmful for a permanent one.
For temporary redirects, Google’s indexing pipeline “doesn’t use the redirect as a signal” that the target should be canonical; its status code page calls a 302 a weak signal. The target can still be indexed if other signals point to it.
Using a 302 when you mean 301
After a migration, a 302 can leave old URLs in search. Use a 301: Google’s site move guide says permanent redirects don’t cause a loss in PageRank.
Redirect chains and loops
Googlebot follows up to 10 hops, but Google recommends ideally no more than 3 and fewer than 5, because chaining adds latency, and long chains hurt crawling. Add chains to your list of common technical SEO issues.
Set 302s on the server whenever you can.Google orders redirect methods by how reliably it interprets them: server-side first, then meta refresh, then JavaScript.
wp_redirect() defaults to 302 but doesn’t exit automatically, so always follow it with exit.
JavaScript and meta refresh
Avoid both for temporary moves. Google interprets JavaScript location redirects and instant meta refresh as permanent, and may miss a JavaScript redirect if rendering fails.
302 Redirect Best Practices
Keep every 302 deliberate, short-lived and documented. These habits prevent most redirect problems we see in audits.
Give each 302 an end date
Log each 302 in a redirect map. If a “temporary” redirect has no end in sight, make it a 301.
Redirect to the final URL
Point straight at the destination and never stack 302s. For forms and APIs, use a 307.
Crawl before and after releases
Screaming Frog’s free version crawls up to 500 URLs and finds temporary redirects, chains and loops. Then check the Page indexing report.
302 Meaning: FAQs
What does 302 mean?
The 302 meaning is Found, the HTTP status code for a temporary redirect. The server tells the browser the page is temporarily at another URL, given in the Location header, and the browser loads it automatically. Clients keep using the original URL, and Google Search usually keeps showing the original page.
What is the difference between a 302 and a 307 redirect?
Both are temporary redirects, and Google treats a 307 the same as a 302. The difference is the request method. When following a 302, a browser may change a POST request to GET. A 307 keeps the original method and body, so it suits forms and APIs.
Does a 302 redirect pass link equity?
Don’t count on it. MDN says search engines don’t transfer SEO value to the new URL after a 302, and Google’s indexing pipeline doesn’t use a temporary redirect as a canonical signal. Google says permanent redirects don’t cause a loss in PageRank, so use a 301 for signals on the new URL.
How long can a 302 redirect stay in place?
The HTTP standard sets no time limit. If the original URL isn’t coming back, switch to a 301 so Google shows the new URL. Google may index the target of a 302 anyway if other signals, such as rel=canonical annotations or sitemap inclusion, point to it.
Should I use a 302 or a 301 for an A/B test?
Use a 302. Google’s A/B testing guidance says to use a temporary 302 redirect, not a permanent 301, when sending visitors to a test variant. Add rel=canonical on variant URLs pointing to the original, and remove the redirects once the test ends.
Your Next Move: Audit Your Redirects
In practice, the 302 meaning is a promise that the original URL is coming back. Crawl your site, list every 302 and check whether that promise still holds. Make anything permanent a 301.
Understanding a 302 Found redirect as temporary is crucial because it tells search engines not to transfer SEO value, or 'link equity', to the new location. You are signaling that the original URL is still the primary, canonical source and will return, so Google Search will usually continue to index and rank the original page, not the temporary one. This protects the authority you have built over time. Unlike a permanent 301 redirect, which passes ranking signals, a 302 preserves the status of the source URI. According to RFC 9110, the core instruction of a 302 is that the client ought to continue to use the target URI for future requests. This means that for SEO, you should only use a 302 for short-term changes, ensuring your permanent pages do not lose their standing in search results. Explore the full guide to see how this technical detail shapes your site's visibility.
The evolution from 302 Moved Temporarily to 302 Found reflects a subtle but important clarification in the HTTP standard. The modern name, used by resources like MDN Web Docs, simply indicates that the requested resource was 'found' at a different location, without prescribing the reason. The original name from HTTP/1.0 implied the resource itself had moved. This change acknowledges that the redirection could be for various reasons beyond a simple move, such as device targeting or A/B testing. This semantic precision helps developers and SEOs think more broadly about the application of 302s. While functionally the same for browsers and Google, understanding this distinction underscores the redirect's purpose as a temporary pointer, not necessarily a physical move, reinforcing why the original URL should remain the point of reference. The full article clarifies how this history influences modern best practices.
Your choice depends entirely on the intended duration of the move: a 301 is for permanent changes, while a 302 is for temporary ones. For a site migration, using a 301 Moved Permanently redirect is the correct choice. It sends a strong signal to Google Search to de-index the old URL, transfer its ranking signals to the new one, and show the new URL in search results. Using a 302 for a permanent move is a critical SEO mistake. It tells search engines the change is temporary, so they will likely keep the original URL indexed and not pass on the SEO value you've built. This can lead to diluted rankings, indexing issues, and a poor user experience. The key factors to weigh are:
Permanence: Is the URL changing for good? Use a 301.
SEO Value: Do you want to pass link equity? Use a 301.
User Experience: Do you want search results updated to the new page? Use a 301.
The detailed comparison table in the full text offers more guidance on this critical decision.
The crucial difference between a 302 and a 307 is the preservation of the HTTP request method. A 307 Temporary Redirect guarantees that the request method and body will not change when the request is reissued to the new location. For example, a POST request will remain a POST request. In contrast, a 302 Found redirect historically allows clients to change the request method, often from POST to GET. This behavior makes 307 the safer and more predictable choice for handling forms and APIs where the integrity of the original request is critical. Using a 302 could cause a form submission to fail or an API call to be misinterpreted. While Google treats them the same for SEO, developers must choose the 307 for programmatic requests to ensure functionality. Delve deeper into the article to see code examples and server configurations for each.
Using a 302 redirect for A/B testing is a best practice because it correctly signals the temporary nature of the test variant to search engines. When a user is redirected to a test page, the 302 tells Google that the original URL is still the definitive version and that this new page is just a temporary alternative for testing purposes. This prevents the test variant from being indexed and competing with your main page. To properly implement this, Google's guidance recommends two key actions in addition to the redirect:
Add a `rel="canonical"` tag on all variant pages that points back to the original URL. This reinforces which page is the master version.
Ensure you remove the test elements and the 302 redirect once the A/B test is complete.
Following this method ensures that all ranking signals remain with the original URL, preserving your SEO efforts while you gather valuable user data. The full article provides more examples of appropriate 302 usage.
A 302 redirect is an excellent tool for managing brief, page-specific outages. For instance, if your checkout page is down for maintenance for a few hours, you can implement a 302 to redirect users to a temporary page explaining the situation and when service will be restored. This approach maintains a good user experience and signals to search engines that the issue is temporary, so the original checkout page should not be de-indexed. However, for a larger, site-wide outage lasting a day or two, Google's documentation suggests a 503 Service Unavailable status code is more appropriate. A 503 tells crawlers to come back later without redirecting them, which is a cleaner signal for a whole site being offline. The choice depends on the scale and duration of the maintenance. See the complete guide for more practical examples.
Imagine an e-commerce store with a popular 'winter-coats' category page that ranks well year-round. For a Black Friday promotion, the store creates a special 'black-friday-coat-deals' page. Using a 302 redirect from the main coats page to the deals page for the week of the sale is the perfect strategy. The 302 tells search engines like Google that this is a temporary detour, not a permanent move. As a result, Google Search understands that the original 'winter-coats' URL is still the primary, authoritative page. Once the promotion ends, the redirect is removed, and the original page seamlessly retains all its established SEO authority and rankings. If a 301 were used, the store would risk losing the long-term value of its main category page. This example shows how a 302 protects permanent assets while enabling flexible marketing campaigns. The article explores other tactical uses for temporary redirects.
To run a promotion without harming your SEO, you must correctly signal its temporary nature using a 302 redirect. This preserves the authority of your permanent product page while driving traffic to the promotional offer. The goal is to borrow the traffic of the original URL without permanently altering its status with search engines like Google. Here is a simple plan:
Configure the Redirect: Set up a server-side 302 redirect that points the original product URL to your new promotional landing page.
Confirm the Status Code: Use browser developer tools or an online tool to verify the server is returning a 302 Found status, not a 301.
Run Your Campaign: Drive traffic to the original URL, which will automatically redirect users to the special offer.
Remove the Redirect: As soon as the promotion ends, remove the 302 redirect. The original URL will now load its standard content again.
This process ensures Google Search continues to value the original URL as the canonical source. Find specific server code examples for this process in the complete guide.
To align with Google's official guidance for A/B testing, your team must use a 302 Found redirect to send a segment of users to the new design variant. This correctly signals to crawlers that the change is temporary and for testing purposes only, ensuring your original homepage remains the canonical version in the index. A 301 redirect would be a mistake, as it would signal a permanent move and could cause indexing problems. Follow this implementation plan: First, implement a 302 redirect to send a portion of your traffic from the original URL to the test variant. Second, place a `rel="canonical"` tag on the test variant page, pointing back to the original homepage URL. This reinforces to Google Search which page to rank. Finally, once your test concludes, remove the redirect and all test elements immediately. This approach allows for effective testing while safeguarding your site's SEO foundation. The full article offers deeper insights.
The introduction of 307 and 308 redirects has refined the toolbox for developers and SEOs, making the role of the 302 more specific. The 307 (Temporary Redirect) and 308 (Permanent Redirect) enforce the original request method, which is critical for APIs and forms. This leaves the 302 Found redirect as the go-to choice for temporary content changes where a method change (like POST to GET) is acceptable, such as for A/B testing or promotions. As search algorithms become more sophisticated, your ability to signal clear and accurate intent becomes a competitive advantage. Precisely choosing between a temporary (302/307) and permanent (301/308) redirect helps crawlers like Google's understand your site structure and content lifecycle, leading to better indexing and ranking. Misusing them can create long-term confusion for search engines. The article's comparison table is a key resource for mastering this precision.
The most damaging mistake is using a 302 redirect for a permanent move, such as a site migration or a URL structure change. This incorrectly tells search engines the change is temporary. As a result, Google Search will often continue to index the old URL and will not pass the accumulated SEO value, or link equity, to the new page. This effectively traps your page authority at the old address, preventing the new page from ranking as it should. Over time, this can lead to several problems:
Split Ranking Signals: Both the old and new URLs might compete in search results, confusing users and search engines.
Lost Link Equity: Backlinks pointing to the old URL won't fully benefit the new one.
Indexing Issues: Google may be reluctant to index the new page, viewing it as duplicate or temporary content.
The correct solution is to use a 301 or 308 permanent redirect to consolidate all SEO value to the new URL. The full text explains how to audit your site for these errors.
While a 302 Found is a valid server response, its misuse can create severe technical issues. A redirect loop, where Page A redirects to Page B and Page B redirects back to Page A, creates an infinite cycle that browsers and search engine bots cannot escape. This results in an error message for the user and prevents search crawlers like Google's from accessing and indexing the page content. A long redirect chain (e.g., A -> B -> C -> D) also causes problems. Each redirect consumes valuable crawl budget and adds latency, slowing down the page load time for users. If the chain is too long, Google may abandon the crawl before reaching the final destination. Strong websites avoid these problems by auditing their redirects to ensure they are direct and purposeful, pointing from the original resource to its final destination in a single step. The full guide offers tips on how to identify and fix these hidden issues.
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.
Your buyers ask AI before they search. Run AI Answer Gap and see whether ChatGPT, Perplexity, Gemini and Google AI Overviews name your brand for the questions that matter in your category.