technical-seoredirectsmigration
↪️

301 vs 302 redirects: the complete SEO setup guide for 2026

How a 301 redirect differs from 302, 307 and 308, how redirects pass link equity, how to find and kill chains and loops, set up http to https and www redirects — without losing rankings.

·14 min read·Site Metrics Tool

Redirects are the quiet technical layer that decides whether a site keeps its rankings through any URL change: an HTTPS migration, a structural revamp, mirror consolidation, retiring old pages. Get them right and the engine carries the accumulated authority to the new address and barely notices. Get them wrong and you can lose half the organic traffic you spent years earning in a single week. This guide covers every redirect type, how each affects SEO in Google and Yandex, the most common mistakes, and how to audit your own redirects.

What a redirect is and why it matters

A redirect is an instruction from the server or the page that sends the browser and the crawler from one URL to another. Technically it is an HTTP response with a 3xx status and a Location header pointing at the new address. To the user it is invisible — they clicked an old link and a new page opened. To the engine the redirect is a signal about what to do with the former URL: treat it as permanently moved, temporarily unavailable, or merged with another. The type you choose decides whether link equity transfers and how fast the index updates.

Redirect types: 301, 302, 307, 308 and beyond

Most redirect SEO problems come down to picking the wrong status code. The difference is not cosmetic — engines treat each differently, and your rankings depend on it. Here is each one explained by what it does, not by the letter of the spec.

Every page accumulates authority through inbound links, age and behavioural signals. When you set a 301, the engine carries that authority to the target URL. Google has repeatedly confirmed a 301 passes virtually 100% of equity (the old "you lose ~15%" advice is obsolete — losses are now negligible). But there is a catch: every extra hop in a redirect chain and every temporary code (302/307) dilutes the transfer. The ideal redirect is therefore a single 301 hop straight to the final URL, not a journey through three intermediate addresses.

Yandex handles redirects similarly but with important differences. For mirror consolidation (merging www and non-www, or http and https) Yandex recommends a 301 and additionally weighs the Host directive (historically) and Yandex Webmaster settings. After a 301 is in place, consolidation in Yandex can take from a few days to a couple of weeks — longer than Google. So when migrating in the Russian market, be patient and do not remove the redirects early just because you see a temporary dip.

Redirect chains and loops: the quiet traffic killer

A redirect chain is when URL A points to B, B to C, and C finally to page D. Each hop adds latency (an extra round-trip inflates TTFB), eats part of the equity being passed, and burns crawl budget. Googlebot typically follows 5–10 hops in a chain and then stops without reaching the target — at which point the page is not indexed at all. Chains appear silently: first you redirected for the HTTPS move, then you changed the URL structure, then you dropped the trailing slash — and now there are three sequential 301s where one would do.

A redirect loop is even worse: A points to B and B points back to A. The browser shows a "too many redirects" error and the page is unreachable for everyone — humans and bots alike. Loops usually arise from conflicting rules: one redirect adds a trailing slash while another removes it, or an http→https and an https→http rule are both active due to a misconfigured proxy or CDN.

HTTP to HTTPS and mirror consolidation

The most common scenario is the HTTPS move. The correct setup: every http URL returns a 301 to its exact https counterpart (not the homepage!), and the www version 301s to non-www (or vice versa — the point is to pick one canonical form and stick to it everywhere). The classic mistake is redirecting all http pages to https://site.com/ (the homepage): that destroys the old-to-new URL mapping and the accumulated equity of inner pages drains into nothing. Each page must point to its own page.

After setting up the HTTPS redirects, always: update the canonical tags to the https version, fix sitemap.xml (https URLs only), update internal links to absolute https (so you do not spawn extra redirects), add the https version as the primary host in Yandex Webmaster, and make sure all variants (http/https, www/non-www) are added in Google Search Console — then you will see the consolidation play out in the reports.

The 8 most common redirect mistakes

How to audit your site redirects

A redirect audit is worth running after every migration and at least quarterly on a large site. The process is simple. Collect a list of key URLs (top traffic pages from GSC and Webmaster, plus pages with inbound links). Run each through a chain check and record: the final status, the number of hops, and the type of each step. Find every chain longer than one hop and collapse it — the redirect rule should point straight at the final URL. Find every 302/307 that is actually permanent and switch it to 301. Make sure no redirect leads to a 404, a noindex page, or a loop.

For a one-off check a free tool is enough — enter a URL and see the whole path. For ongoing monitoring across a portfolio it is better to have a platform that checks key URLs on a schedule and alerts you when a new redirect appears or a chain grows. Site Metrics Tool tracks this automatically alongside rankings, Core Web Vitals and the backlink profile — in one dashboard across Google and Yandex.

The correct-redirects checklist

Redirects feel like a boring technical detail until they leak traffic. A few hours on a clean setup and regular checks save months of ranking recovery. Start with an audit of your key URLs — and you will almost certainly find a chain or two, or a temporary code, quietly eroding your SEO.

Frequently asked

How long should I keep a 301 redirect after a migration?

At least a year, ideally forever. Google and Yandex do not update the index and transfer equity instantly, and external links to old URLs can live for years. Remove the redirect early and you lose both that link equity and the users who arrive through it.

Does a 301 redirect lose any equity?

For a single 301 the loss is now effectively zero — Google has confirmed this officially. The old "minus 15%" rule is obsolete. Real losses come from chains (each extra hop dilutes equity) and from using temporary 302/307 codes instead of 301.

What is the SEO difference between 301 and 302?

301 says "permanent" — the old URL drops from the index, the new one takes its place, equity transfers. 302 says "temporary" — the old URL stays indexed and equity is not fully passed. A permanent move always needs a 301.

How do I check a redirect chain?

Enter the URL in our free Redirect chain checker — it shows every hop, its status (301/302/307/308) and the final address. You will immediately see extra hops, loops and temporary codes that need fixing.

Can I redirect with JavaScript?

You can, but it is the worst option for SEO. Engines process JS redirects slower and less reliably than server-side 301s. Use a JavaScript redirect only when you have no access to the server config; in every other case set a 301 at the server level.

Share

Related articles

🔗
Sep 8, 2026 · 13 min read

Internal linking as SEO strategy: the complete guide

Why internal linking matters, how to distribute PageRank, anchor strategy, hub hierarchy, audit and automation.

🧱
Sep 4, 2026 · 14 min read

Schema.org markup: the advanced 2026 guide

A complete guide to structured data: every type for every page, JSON-LD vs Microdata, @id linking, testing and debugging.

🌐
Aug 19, 2026 · 13 min read

Hreflang for multilingual sites: the complete 2026 guide

What hreflang is, how to set it up correctly for two or more languages, typical mistakes, and why Google and Yandex treat hreflang differently.

⚙️
Aug 3, 2026 · 13 min read

JavaScript SEO in 2026: SPA, hydration, and why your page won't index

Why JavaScript-heavy sites index poorly, how Google and Yandex render JS, SSR/SSG/CSR differences, and a fix checklist.