SEO

Redirect (301/302)

What is a Redirect? 301/302 redirects for URL migration and error handling in SEO.

Redirect is a server instruction that automatically forwards browsers and search engines from one URL to another. The two main types are 301 (permanent) and 302 (temporary). In an SEO context, redirects are critical for URL migrations, error handling, and link equity preservation. A poorly designed redirect strategy can lead to traffic loss, ranking drops, and poor user experience.

Redirects are like digital move notifications. When you change a website URL, you're telling Google and users: "This page is now here, please follow this link." If done correctly, you won't lose rankings. If done wrong, it can be catastrophic.

What is a Redirect?

A redirect is a server-side instruction (typically defined in the HTTP header) that automatically forwards browsers and crawlers from an old URL (source) to a new URL (destination).

The process:

  1. User/bot visits old-url.de
  2. Server responds: "This resource has moved to new-url.de"
  3. Browser/bot automatically follows to the new URL
  4. User sees the new page

This typically happens so quickly that the user doesn't consciously notice the redirect.

301 Permanent Redirect

A 301 signals: "This page has moved forever." Google interprets this as: "All link equity, rankings, and authority should be transferred to the new URL." 301 redirects are standard for URL migrations.

302 Temporary Redirect

A 302 signals: "The page is temporarily unavailable, try this address." Google interprets this conservatively: "The origin may have equity, so track both pages separately." 302s are meant for real temporary changes (e.g., website under maintenance).

Other redirect types (less common):

  • 307 Temporary Redirect: Similar to 302, but stricter (HTTP method is preserved)
  • 308 Permanent Redirect: Similar to 301, but stricter (HTTP method is preserved)
  • JavaScript redirects: Client-side, in JavaScript. Google doesn't like this for SEO.
  • Meta-refresh redirects: Defined in HTML <meta> tag. Not ideal for SEO.

For SEO, you should always use server-side HTTP status code redirects (301 or 308).

Redirects in B2B and Technical SEO Context

B2B sites have complex URL structures and migrations are frequent. Common redirect scenarios:

1. Website relaunch / URL structure change

You're migrating from "/" to a new CMS structure. Example:

/what-is-marketing-automation → /glossary/marketing-automation/

Or from HTTP to HTTPS, from www to non-www, or domain migration:

old-domain.de → new-domain.de

In all cases: 301 redirects for all old URLs.

2. Content consolidation

You have 3 blog articles on similar topics and consolidate them into one comprehensive guide:

/blog/lead-scoring-101 /blog/lead-scoring-advanced /blog/lead-scoring-2026 → All 301 redirect to → /glossary/lead-scoring/

3. URL structure simplification

You change from speaking URLs with dates to more SEO-friendly ones:

/2023/03/04/article-title → /blog/article-title

4. Error handling (404s) redirect

Popular URLs with typos or accidental broken links should be redirected to the correct page:

/contact-us → /contact/

/price → /prices/

Best practices for Redirects

1. Use server-side redirects (not JavaScript/meta-refresh)

HTTP status code 301 or 308. Implementation depends on your server:

Apache (.htaccess):

RewriteRule ^old-page$ new-page [R=301,L]

Nginx:

redirect 301 /old-page /new-page;

Vercel/Next.js (vercel.json):

{ "redirects": [ { "source": "/old-page", "destination": "/new-page", "permanent": true } ] }

2. Redirect destinations must be meaningful

Never redirect to a generic page. Example of a mistake:

/blog/lead-scoring-2023 → / (to the homepage)

Better:

/blog/lead-scoring-2023 → /glossary/lead-scoring/

Or if no meaningful destination exists, better to show a 404 and update the article.

3. Avoid redirect chains

Not:

/a → /b → /c → /d

This costs crawl budget and ranking power is partially lost. Always redirect directly to the final destination:

/a → /d /b → /d /c → /d

4. Avoid bidirectional redirects

Scenario: You have /page-a redirecting to /page-b, and then /page-b redirecting to /page-a. That's a loop. Google will recognize it and can't crawl either.

5. HTTPS redirect before other redirects

Priority: 1. HTTP → HTTPS 2. www → non-www (or vice versa, consistent) 3. Other URL structures This should be defined via canonical tags or redirects.

6. Conduct redirect audit

Regularly check: What redirects do we have? Are they still necessary? A 301 from 2019 that's still running should be converted to point directly to the redirect destination or removed.

Scenario Best practice SEO Impact
Permanent URL change 301 redirect Full link equity transfer (95 - 99%)
Temporary redirect (< 6 months planned) 302 redirect Equity stays with original, conservative
Domain migration 301 redirect on all pages + Search Console notification Full transfer, but signal to Google is important
Content consolidation 301 to a master page Equity consolidates, improves master ranking
Broken link fix Either fix page or 301 redirect 404 is fine if intentional

Common Redirect Mistakes

Mistake 1: Using 302 instead of 301 for permanent changes

A very common mistake. Developers use 302 out of habit or ignorance. This causes Google to track both URLs and link equity isn't concentrated.

Mistake 2: Redirect chains

An old page redirects to a newer one, which in turn redirects to an even newer one. Each hop costs about 5% link equity. It adds up.

Mistake 3: Broad redirects to homepage

A popular broken category page redirects to the homepage. This frustrates users and loses contextual relevance.

Mistake 4: Missing redirects during domain migration

Domain migration without 301 redirects is a disaster. Rankings are lost because Google doesn't recognize the connection.

Mistake 5: JavaScript/Meta-refresh redirects

Google much prefers server-side redirects to meta-refresh or JavaScript. Always use HTTP status codes.

Monitoring and Maintenance

Create redirect reports

Document all redirects:

  • Source URL
  • Destination URL
  • Redirect type (301/302)
  • Date created
  • Reason for redirect
  • Future expiration date (if 302)

Monitor Google Search Console

Search Console shows broken links and redirect errors. Check regularly and fix errors.

Conduct crawl tests

Tools like Screaming Frog or Sitebulb can automatically crawl all redirects and test for problems like chains or loops.

Redirects and Link Equity

An important question: "How much link equity is lost in a 301 redirect?"

Google has officially stated that 301 redirects should not lead to link equity reduction. In practice:

  • Within your domain (internal): 301 maintains full equity
  • To external domain: 301 maintains ~95 - 99% equity
  • Single redirect (not in chain): No significant equity loss

Redirect chains with multiple hops lead to equity losses as Google follows the connection more weakly.

A well-designed redirect strategy is invisible, but critical. Users and search engines should seamlessly follow to the new URL without suffering ranking losses. Invest time in proper redirect management during migrations, and you'll avoid big SEO problems later.

Sounds like a topic for you?

We analyze your situation and show concrete improvement potential. The consultation is free and non-binding.

Book Free Consultation