Skip to main content
Back to Glossary
Technical SEOIntermediate#Technical SEO#SEO Glossary#SEO

SEO Redirects: choosing 301, 302, 404, 410 and 500 correctly

Deep glossary guide to SEO redirects, 302 redirects, 404, 410, 500 errors, redirect chains, migrations, pruning and clean URL decisions.

Reviewed by Contextter Team8 min read

In Plain English

SEO redirects and HTTP status codes tell users and search engines whether a URL has moved, disappeared, been removed on purpose, or failed because of a server issue. Good redirect work starts with the right content decision.

Key Takeaways

  • Redirects are not cleanup magic; every old URL needs a justified destination decision
  • 301 and 308 signal permanent moves, while 302 and 307 signal temporary redirects
  • 404
  • 410, canonical
  • noindex and redirects solve different SEO problems

Deep dive

Quick Definition

SEO redirects are rules that send an old, changed, or alternate URL to another URL. HTTP status codes such as 301, 302, 404, 410 and 500 explain what happened to the requested resource: permanently moved, temporarily moved, not found, intentionally removed, or failed because of a server problem. Search engines use these signals when they crawl, index, choose canonical URLs, and interpret link signals.

The simple idea is this: a redirect is a signpost, not a trash bin. If an old URL has a genuinely useful replacement, redirect it. If it has no meaningful replacement, a clean 404 or 410 may be more honest. If a page is only a duplicate, a canonical may be better. If a page should remain accessible but stay out of the index, noindex is usually the right tool. Strong redirect work therefore begins with an editorial and architectural decision, not with a spreadsheet that sends everything to the homepage.

Terms Covered Here

  • 301 Redirect and 308 Permanent Redirect
  • 302 Redirect and 307 Temporary Redirect
  • 404 Error
  • 410 Gone
  • 500 Internal Server Error
  • Redirect Chains and Redirect Loops
  • Redirect Chain from Pruning
  • URL Mapping during migrations
  • Canonical vs Redirect
  • Crawl Budget, internal links and link equity

Simple Explanation

Think of a website as a building with signs. If a room has permanently moved, the old door should point people to the new room. That is a redirect. If the room is closed for two days, the sign should not pretend that the room has moved forever. That is the difference between temporary and permanent. If the room has been removed and there is no equivalent, pointing everyone to the cafeteria is not helpful. The same is true for deleted URLs: not every old URL deserves a redirect.

The topic becomes difficult because old URLs are not equal. Some have backlinks, rankings, internal links, recurring users, or years of trust. Others are empty filters, old campaign pages, tag archives, test URLs, duplicates, or content with no demand. The job is to separate them. A product category with strong links needs a different decision than an expired job post, a removed event, or a parameter URL created by a faceted navigation system.

301, 308, 302 and 307: Permanent or Temporary

A 301 redirect and a 308 redirect mean that the resource has moved permanently. Google describes permanent redirects as a signal that the target should be treated as the canonical URL. In practice, permanent redirects belong to final URL changes: HTTP to HTTPS, domain moves, permanent slug changes, consolidated content, removed pages with a very close replacement, or carefully mapped migrations.

A 302 redirect and a 307 redirect mean that the redirect is temporary. Google may follow those redirects, but they do not send the same canonicalization signal as a permanent redirect. That is useful when an offer is temporarily unavailable, an experiment is running, a login flow sends a user somewhere else, or a campaign page is briefly substituted. The mistake is leaving a permanent move as a 302 for months. Users may arrive at the target, but your technical signals still say the original URL might come back.

A practical rule: do not ask "which code is better for SEO?" Ask "is the change really permanent?" If yes, use a permanent server-side redirect where possible. If no, use a temporary redirect and put a review date on it. A 302 without an expiry date is often just future technical debt.

404 and 410: Removed Is Not Always Bad

A 404 means that the requested URL was not found. A 410 means that the resource is intentionally gone. Many teams fear 404s as if each one were a ranking penalty. That is too simple. A removed URL with no useful replacement can return 404 or 410. The problem starts when important internal links point to 404s, external links point to valuable old pages, or relevant pages disappear accidentally during a migration.

Google's crawl documentation groups 404 and 410 as 4xx signals for unavailable content. A 410 is semantically clearer when you are sure the URL is permanently gone. It is not a magic shortcut that makes weak pruning decisions safe. The real questions are: Was there a successor? Are there backlinks? Is there demand? Would a user expect a specific answer? If yes, consider a redirect or content consolidation. If no, a clean 404 or 410 is often the best answer.

500 Internal Server Error: Reliability, Not Removal

A 500 Internal Server Error does not say that a page has moved or disappeared. It says the server could not process the request correctly. For users it is frustrating. For crawlers it is a reliability signal. Google documents that 5xx errors and 429 responses can cause crawlers to slow down temporarily. If server errors persist, already indexed URLs may eventually be dropped.

That means 500 errors do not belong in the same bucket as 404s. A 404 can be correct for a removed page. A 500 is almost always an operational problem: broken deployments, timeouts, database failures, overloaded infrastructure, faulty redirect rules, or edge logic that crashes for certain URLs. SEO teams should connect 5xx spikes with engineering: when did they start, which templates or hosts are affected, did Googlebot hit them, and did the URLs previously drive traffic?

Redirect Chains and Loops

A redirect chain happens when URL A does not go directly to C, but travels through B or several other hops. A loop happens when the chain eventually points back to itself. Both hurt user experience, measurement and crawling. Google recommends avoiding long redirect chains because they can negatively affect crawling.

Chains usually grow quietly. A site moves from HTTP to HTTPS, then adds a trailing slash rule, then changes CMS, then adds a language path, then prunes content, then relaunches again. Each rule may have made sense at the time. Together they become A -> B -> C -> D. Redirect hygiene means shortening old redirects to the final destination. If an old URL should point to a new page, it should point there directly.

Redirect Chain from Pruning

Content pruning is a common source of weak redirects. Teams remove underperforming content and redirect it to the nearest category, blog hub, or homepage. It looks tidy in a crawl, but it may be wrong for users. If ten very different old guides all redirect to a generic category, the visitor does not get the answer they expected. Search engines also do not receive a clean replacement relationship.

The better pruning question is: should this content be improved, merged, redirected, noindexed, or removed? A redirect is strong only when the source and destination satisfy the same or a very similar search task. If an old article about "canonical tag vs 301 redirect" is removed, a deep canonical or redirect guide may fit. If a 2019 Black Friday page has no current demand and no equivalent, 410 can be cleaner than a forced redirect.

Redirect Audit Workflow

Start with a URL inventory. Collect old URLs from sitemaps, crawls, server logs, analytics, Search Console, backlink data, CMS exports and migration spreadsheets. For each URL, mark traffic, clicks, impressions, backlinks, internal links, status code, canonical, indexation state and content value.

Then decide by pattern. Permanently moved with a close replacement: 301 or 308. Temporary alternative: 302 or 307 with a review date. No replacement: 404 or 410. Duplicate: canonical or consolidation. Valuable but weak content: improve it instead of redirecting it. Mass rules are fine when the pattern is technically and editorially stable. A domain move may use wildcard rules; a content pruning project usually needs human sampling.

After implementation, test the rules. Crawl the old URL set. Every important old URL should either reach the final 200 destination in one hop or intentionally return 404 or 410. Update internal links so users do not rely on redirects forever. Refresh sitemaps, canonicals, hreflang, structured data, navigation and high-value external references where possible.

Common Mistakes

  • Redirecting old URLs to the homepage by default.
  • Leaving permanent URL changes as 302 redirects.
  • "Fixing" all 404s even when removal was correct.
  • Treating 410 as a magic fast-removal button.
  • Making redirects and canonicals fight over the same URL.
  • Keeping internal links pointed at old URLs for months.
  • Letting chains accumulate after migrations, pruning and platform changes.
  • Treating 5xx errors as background noise when crawling and indexing may be affected.

This entry should connect closely with 301 Redirect, Crawl Budget, Content Pruning, Canonical Tag, URL Structure, Link Equity and Internal Linking. The reason is simple: redirects are not just server rules. They connect content decisions, technical architecture, link signals and user journeys. If you only see the status code, you miss most of the SEO value.

Contextter Angle

Contextter cannot make every redirect decision automatically correct, but it can improve the decision base. Which pages are strong enough to consolidate? Which ones are thin, outdated or redundant? Which topics deserve a better target page instead of a generic redirect? This is where content scoring and technical SEO meet. A good redirect plan is ultimately a good content plan with clean server execution.

Sources for Review

  • Redirects and Google Search: https://developers.google.com/search/docs/crawling-indexing/301-redirects
  • How HTTP status codes affect Google's crawlers: https://developers.google.com/crawling/docs/troubleshooting/http-status-codes
  • Site moves and migrations: https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes
  • Optimize your crawl budget: https://developers.google.com/crawling/docs/crawl-budget
  • What is URL canonicalization: https://developers.google.com/search/docs/crawling-indexing/canonicalization
  • What is a sitemap: https://developers.google.com/search/docs/crawling-indexing/sitemaps/overview
  • Ask Google to recrawl your website: https://developers.google.com/search/docs/crawling-indexing/ask-google-to-recrawl

Why It Matters for SEO

Redirects decide whether users, internal links, external links, crawl activity and link signals land on the right URL or get lost in chains, errors and weak destinations.

Common questions

What is SEO Redirects: choosing 301, 302, 404, 410 and 500 correctly?

SEO redirects and HTTP status codes tell users and search engines whether a URL has moved, disappeared, been removed on purpose, or failed because of a server issue. Good redirect work starts with the right content decision.

Why does SEO Redirects: choosing 301, 302, 404, 410 and 500 correctly matter for SEO?

Redirects decide whether users, internal links, external links, crawl activity and link signals land on the right URL or get lost in chains, errors and weak destinations.

Connect redirect decisions with content quality

Contextter helps teams evaluate content, spot consolidation opportunities, and connect technical SEO decisions with content quality.

View SEO Scoring