en
ua ru en
8 26.02.2026
What Is a Redirect? Types of Redirects and How to Use ThemSEO

What Is a Redirect? Types of Redirects and How to Use Them

8 26.02.2026

If you have ever clicked a link and instantly ended up at a different address without making any extra clicks, you have encountered a redirect in action. For a regular user, it’s magic, but for you and me, it’s a precise tool for managing a website’s “health”.

Definition and Purpose of a Redirect

What is a redirect

A redirect is an automatic forwarding of users and search bots from one URL to another.

To understand it more deeply, imagine a teleport analogy: you walk through one door and a moment later you find yourself somewhere else, with no need to click or choose anything extra. A redirect does the same thing. Properly configured forwarding implements an “invisibility logic”: for the user, the transition is seamless, while for the server, it’s strict compliance with data transfer protocols.

Why you need a redirect

In the architecture of the modern web, there is a tool that works like an invisible yet flawless traffic controller at an overburdened intersection. When a requested resource is moved, this “controller” instantly and without unnecessary questions directs the data flow to the new address.

What is a redirect for an SEO specialist? First and foremost, it is a way to manage link equity and crawl budget. Without it, any site restructuring would turn into a technical disaster with lost rankings and traffic. Read more about usage below.

How Redirects Work: The HTTP Scheme

To understand how a redirect works, it is important to consider a feature of the HTTP protocol. The protocol does not store information about previous requests. Each browser request is processed separately, and the server must provide an unambiguous response. If the requested resource has been moved, the server reports this using special HTTP status codes and specifies the new URL to which the client should request.

A photo of a diagram of how a redirect works on a page or website

Server functions for 3xx responses:

  1. Request: The browser sends a GET request to the server.
  2. Check: The server analyzes the configuration (for example, the .htaccess or nginx.conf file) and finds a redirect instruction.
  3. Response: The server does not deliver content (code 200) but sends a status from the Redirection (3xx) family.
  4. Location header: In the HTTP response, the server must pass the Location header containing the target redirect url.
  5. Transition: After reading the header, the browser automatically initiates a new request to the specified address.

The codes start with “3” because that digit is reserved in the HTTP 1.1 standards for redirects, indicating to the client that additional actions are required to complete the operation.

Types of HTTP Redirects (3xx): Full Classification

Choosing the correct code is the foundation of technical optimization and SEO. A mistake in the redirect type can lead to the search engine not transferring the accumulated authority to the new page. Let’s review all types of redirects.

CodeNameTypeEquity transfer (SEO)When to use (Case Study)
300Multiple ChoicesMultipleNoWikipedia analogy: letting the user choose a language version or file format.
301Moved PermanentlyPermanentYes (90-99%)A complete move to a new domain or a permanent change in URL structure.
302FoundTemporaryNoMaintenance, temporary campaigns. The bot keeps the old URL in the index.
303See OtherSpecialNo303 redirect—what is it? It’s a way to send users to a different page after a POST request (for example, after paying for an order).
304Not ModifiedCachingN/ATells the browser that the content has not changed. Critically important for saving crawl budget.
305Use ProxyProxyNoAccess to the resource is possible only through the specified proxy server (an obsolete standard).
306Switch ProxyReservedNo306 redirect is reserved by the protocol and is not used in modern practice.
307Temporary RedirectTemporaryNoA clarified 302 for HTTP 1.1. It strictly preserves the request method (POST stays POST).
308Permanent RedirectPermanentYesA modern counterpart to 301. Used where it’s important to preserve the data transfer method (e.g., API).

On the nuances:

  • 301 redirect is the standard for SEO. It “merges” pages, passing PageRank. However, remember: 301 can change a POST request to GET, which is critical for forms. In such cases, use a 308 redirect.
  • 304 redirect and Crawl Budget: By using the Last-Modified and If-Modified-Since headers, you allow the bot not to download a page again if it hasn’t changed. This speeds up indexing of new sections on large projects.
  • Google Drive and 308: An interesting technical fact—Google Drive uses the 308 code to resume interrupted uploads, signaling to the client that the state is preserved.

301 and 302 Redirect: The Difference

The difference between them is easiest to understand through a real-estate analogy. 301 is buying a new home. You move away from the old address permanently, take your belongings, and all mail / purchases are now delivered to the new home.

Photo illustrating the redirect setup

302 is renting an apartment while renovations are happening. You plan to return, so delivery services (and the search engine) continue to treat your old address as the primary one. A comparison of 301 and 302 redirects:

Criterion301 (Permanent)302 (Temporary)
DurationMoved permanentlyMoved temporarily
IndexingGoogle replaces the old URL with the new oneThe old URL remains in the index
Link equityTransferred at 90–99%Practically not transferred
CachingThe browser caches the address permanentlyNot cached (a server request each time)

Rule of thumb:

  • Choose 301 if you removed a duplicate, merged two articles into one, changed the URL slug, or permanently changed the site structure.
  • Choose 302 if the page is under maintenance, you’re running A/B testing, or you’re doing a seasonal campaign.

Methods of Implementing a Redirect

A professional seo redirect is always implemented at the server level. Client-side methods (browser-based) are workarounds that may not be recognized by search bots.

Server-side redirects

This is the cleanest method. The server announces the move before the browser starts rendering.

Apache configuration (.htaccess):

# Merging mirrors: redirect from www to non-www
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]

Any typo in the .htaccess file will instantly crash the site into a “500 Error”. Always make a backup before editing!

Nginx configuration (nginx.conf):

location /old-page {
    return 301 /new-page;
}

PHP implementation:

// Important: the 301 status is passed as the third parameter
header("Location: https://site.com/target-url", true, 301);
exit();

Client-side redirects

If there is no access to the server, a redirect on javascript or Meta Refresh is used.

Meta Refresh:

<meta http-equiv="refresh" content="0; url=https://new-site.com/">

JavaScript:

window.location.replace("https://new-site.com/");

Risk: JS redirects are slow, increase TTFB (Time to First Byte), and may be ignored by other search engines (except Google), which is disastrous for site redirect.

CMS and plugins

If you need to quickly set up redirect links or bulk rules, use plugins/modules in WordPress, OpenCart, Shopify, and other platforms. For a major migration, lock the final rules on the server.

Practical Scenarios for Using Redirects

In capable hands, url forwarding solves key business tasks:

  • Merging mirrors and HTTPS: Making a site redirect from http to https and consolidating versions with and without www is the first step of any audit.
  • Changing the domain or site structure: Lets you “move” accumulated authority (PageRank) to a new address without losing traffic.
  • Fighting duplicates: A redirect brings URLs with different casing (Blog vs blog) or extra slashes into a single canonical form.
  • Removing pages or changing a URL: If a product is discontinued, an automatic redirect to the category or a relevant alternative will retain the customer.
  • Mobile traffic: Redirecting smartphone users to a responsive or m-version of the site.
  • Marketing: short links and redirects for email campaigns (don’t build long chains).

Common Mistakes and SEO Risks: How Not to Kill Rankings

The wrong redirect code can crash a site’s rankings in search results.

An infographic clearly explaining what redirects are
  1. Dropped from the index: If a 301 is configured incorrectly, a search engine may keep old broken links in its database for years.
  2. Redirect Chains: A -> B -> C -> D. Each hop increases TTFB and eats up to 10–15% of equity. Bots may stop crawling after 3–5 jumps.
  3. Redirect Loops: A logic error (A -> B -> A). The user sees “The site performed too many redirects”.
  4. Using a 302 redirect instead of 301: For a search engine, this signals that the “move” is temporary. As a result, the old URL doesn’t drop out of the index, and the new one doesn’t receive equity.
  5. Redirecting to irrelevant content: Sending a user from a specific laptop page to the homepage is an error that increases bounce rate.

Checklist (Pre-production):

  • The final URL returns a 200 OK status.
  • No intermediate hops (a direct A -> Z).
  • The redirect is configured at the server level (.htaccess/Nginx).
  • The data transfer method is preserved (if forms are used — 307/308).
  • All internal links on the site are updated to direct ones (so you don’t overload the server).

How to Check a Redirect

To understand whether a redirect on a website is configured correctly, you need to use professional SEO software.

  1. Screaming Frog SEO Spider: Response Codes tab -> Redirection (3xx) filter. The tool will show the entire chain and the final address. Pay attention to the Redirect URL column.
  2. Google Search Console: URL inspection will show how the bot interprets the redirect and whether it sees the consolidation.
  3. Online checkers (Bertal, Webmasta): Let you see raw HTTP headers, including Location and Content-Type.

Here you can download a presentation (report) on the topic of the article.

Frequently Asked Questions About Redirects in SEO

How long should you keep a 301 redirect active?

Google recommends keeping a 301 redirect for at least one year. The search engine needs time to fully rebuild the index and reassign all external links.

Are filters (penalties) transferred through a 301 redirect?

Yes. Along with link equity, negative signals are transferred as well. If you are trying to save a site from a penalty with a simple move, it won’t work.

Which is better: rel="canonical" or a 301 / 302 redirect?

If the page is no longer needed by users, use only a 301 redirect. If both pages must be accessible, but one is higher priority, use canonical.

How do I make a page redirect if I’m not a programmer?

On WordPress, use the Redirection plugin. It lets you manage redirects through the admin panel without touching server files.

Is equity transferred through a 302 redirect?

Officially, no. A 302 redirect is a temporary measure. Over time, Google may start treating it like a 301 if it remains in place for years, but it’s better not to rely on the goodwill of search algorithms.

Enjoyed the article?

1 Star2 Stars3 Stars4 Stars5 Stars
5.00 / 5 1

Discover ideas worth your time — stories,
trends, and tools that shape the future

Join our newsletter for curated
insights and important updates

Subscribe

Latest Articles