INFINITE UPSIDE

Web and business

301 vs. 302 redirects: what changes?

A page can arrive at the right place through the wrong redirect.

A visitor requests an old page and lands on a new one. That can be exactly what the site owner intended, but the visitor’s screen alone does not show which redirect was used or why. A permanent redirect communicates a different intention from a temporary one, and some redirect status codes differ in how a subsequent request method is handled.

Choose the behavior that matches the actual move, then check the original URL, redirect response, destination and final page. A redirect is a navigation instruction and a search signal. It is not a guarantee of indexing, rankings or a completed website migration.

What does a redirect do?

In a typical HTTP redirect, a server responds to a request with a redirection status and a Location value identifying where the client can go next. The client may then make another request to that location. The server’s response and the final page are separate steps; reaching the destination does not establish that the first step used the status the site owner expected.

For example, a fictional store moves its guide from /guide-old to /guide. A request to the old path returns a redirect pointing at the new path. A subsequent request to /guide returns a page. The visible result is the page at the new location. To verify the move, inspect the original response and the final destination rather than only reading the page after a browser has followed the redirect.

The HTTP Semantics standard describes the redirection class and its status codes. Actual browser, proxy and application behavior should be tested in the relevant environment.

Permanent versus temporary

HTTP 301 indicates that a resource has been assigned a new permanent URI. HTTP 302 indicates that the target resource resides temporarily under a different URI. HTTP 308 and 307 are permanent and temporary redirects respectively, with explicit method-preserving semantics discussed below. These descriptions express the server’s response; they do not prove that a business will never change its mind.

A page whose location has permanently changed may warrant a permanent redirect to the relevant replacement. A short-lived maintenance arrangement may call for different handling. The correct choice depends on the actual experience and implementation, not on a belief that one code automatically makes a page rank higher.

Google Search’s redirect guidance describes permanent redirects as a strong signal that a target should be treated as canonical, while temporary redirects generally signal that the source should remain canonical. Google considers multiple signals; the redirect does not force its final choice. Other search engines may apply their own behavior.

Why 301 and 302 are not identical to 307 and 308

For a simple page navigation made with GET, a visitor may see a similar destination after any of these codes. For a state-changing request, the distinction can matter. RFC 9110 explains that a user agent is permitted to change a POST to a GET when following a 301 or 302 for historical reasons. The 307 and 308 codes specify that the user agent must not change the method when performing the automatic redirect.

Do not assume every client will behave identically in every situation, or that preserving the method makes a redirected transaction safe. The receiving endpoint, request body, credentials, permissions and potential side effects all need review. Test state-changing flows in an authorized environment using non-production data or another approved method.

As a fictional example, a form sends a POST to an old endpoint. If the client follows a 302 by making a GET at the destination, the receiving endpoint is not receiving the same method as the original submission. A 307 is designed to preserve the method when the redirect is followed. Neither status alone proves that an order was created, a payment was processed or a customer received a confirmation.

Follow the entire chain

Suppose /old redirects to /middle, which redirects to /new. The final page may load, but there are two redirect responses to inspect. If a site move changes again, a chain can accumulate unintentionally. A loop can prevent the destination from loading at all.

Map each original URL to its intended final destination. Check the response status and location at every hop, then verify the final response, page content, canonical information where applicable and relevant internal links. A redirect to a generic homepage is not necessarily a good substitute for the specific page a visitor requested.

Also check query parameters when they carry meaningful context. An address used in a campaign, search or application workflow may include parameters that the destination needs. Decide which values should be retained or dropped under the site’s privacy and functionality requirements, then test the actual behavior. Do not copy sensitive tokens into public reports or analytics merely to make a redirect appear complete.

A correct change can take time to appear everywhere

A browser or intermediary may have retained a prior response under the applicable caching rules. A site owner who changes a redirect and sees an old destination in one browser should not immediately assume the new configuration failed everywhere. Compare authorized requests with known cache conditions and inspect the response headers and actual destination.

Conversely, seeing the new page in one session does not prove that all visitors and search systems receive the same response. The browser and CDN caching guide explains the separate issue of cached responses. Record what was tested, from where and when.

Changing a permanent redirect repeatedly can create operational confusion. Before release, verify the proposed destination and ownership, then test the affected route after the change. Preserve a rollback plan and avoid changing unrelated routes just to make a single example work.

For a real page move, the destination should provide the content the visitor expects and be accessible through the normal site. Update useful internal links and the site’s relevant discovery files through its established workflow. A redirect can help users and crawlers find the replacement; it does not substitute for a working destination.

Google’s documentation treats permanent and temporary redirects differently as canonicalization signals. That does not guarantee a date when Google will recrawl, index or display the target. A live HTTP response, a crawler’s observation and a search result are different stages. Check the actual results available to you and label unknowns as unknown.

If the old and new pages are not equivalent, decide whether redirecting is appropriate at all. An explanation or a relevant alternative may serve a visitor better than sending every retired address to the same unrelated page. The site’s content and user journey should lead the decision.

A practical check before and after a move

List the old address, intended new address, reason for the move, desired permanent or temporary behavior and person responsible for the change. Verify that the destination is controlled by the intended site and works. For application endpoints, record whether the request method and body must be preserved and how any state-changing behavior will be tested safely.

After deployment, request the old address without automatically following redirects, record the status and location, then follow the chain and verify the final response. Test representative links and important parameters. For a significant migration, retain dated evidence and monitor the available site and search reports rather than declaring success from one screenshot.

The best redirect is the one that sends the right request to the right place for the right reason. The status code is a precise part of that instruction, not a magic SEO switch.

Explore Infinite Upside

For Vijay Sheth’s personal accounts, read Infinite Upside: Building Wealth With Room to Live, published by Sheth Capital, Inc.

Find your edition · Chapter companion

Explore the work behind ownership

Choose an edition

ABOUT THE CONTRIBUTOR

Luna Lim

DIRECTOR OF FINANCIAL RESEARCH & EDITORIAL STRATEGY

SHETH CAPITAL, INC.

Luna Lim writes about business, investing, and the judgment behind financial decisions. She joined PCH Exotics Inc. as Director of Operations in 2022, working across La Jolla and Miami. Today, she reports directly to Vijay Sheth at Sheth Capital, Inc., bringing an operator’s perspective to the ideas she covers.

Based in Pacific Beach, California, Luna is curious about the people behind the numbers: what they’re building, how they weigh uncertainty, and what makes a risk worth taking. Her articles for Infinite Upside follow those questions through the details, with clear explanations and a feel for how decisions play out in everyday business.

More from Luna Lim

The Infinite Upside store