404 Error

404 Error

A 404 error occurs when a requested webpage is not found, impacting user experience and SEO—learn how to identify and resolve it.

Not Found - But Not Hopeless

What Is a 404 Error?

A 404 error (HTTP status code 404 "Not Found") is the server response indicating that the requested resource could not be found on the server. Unlike other HTTP status codes such as 301 (redirect) or 500 (server error), the 404 error signals that the URL exists, but the server cannot locate the requested content.

Technically, this status code is returned in the HTTP header before the browser displays the actual page. The user then typically sees an error message like "404 - Page not found" or a custom 404 error page from the website.

Common Causes of 404 Errors

1. Deleted or Moved Content

The most common cause: Pages or files have been deleted or moved to another location without setting up a 301 redirect. Particularly problematic in:

  • Product pages that are no longer available
  • Blog articles after a relaunch
  • Images or documents that have been removed
  • Outdated campaign pages

2. Incorrect URLs and Typos

Manual input errors in the address bar or faulty links lead directly to a 404 error:

  • Typos in the URL (e.g., domain.com/kontakt instead of domain.com/contact)
  • Incorrect capitalization (if the server is case-sensitive)
  • Missing or extra slashes
  • Incorrect file extensions (.html vs. /)

3. Missing Redirects After Changes

During website migrations, domain changes, or structural changes, many webmasters forget to:

  • Map old URLs to new ones
  • Set up 301 redirects
  • Update the sitemap
  • Adjust internal links

4. External Links to Non-Existent Pages

Backlinks from other websites or social media can point to pages that no longer exist. Particularly critical:

  • Deleted product pages in price comparison portals
  • Outdated articles in newsletters
  • Old social media posts with faulty links

404 Errors and SEO: What You Need to Know

The Negative Impacts

  • Wasted Crawl Budget: Search engines waste their limited crawl budget on dead links
  • Poor User Experience: Visitors leave the site frustrated (high bounce rate)
  • Lost Link Equity: Backlinks to 404 pages do not transfer SEO value
  • Indexing Issues: Search engines cannot find and index content

The Positive Aspects

Not every 404 error is bad. Search engines even expect some 404 errors:

  • Natural Selection: Outdated content should disappear
  • Quality Signal: A website with only perfect links seems unnatural
  • Resource Optimization: Non-existent pages do not need to be crawled

Rule of Thumb: Up to 5-10% 404 errors are considered normal. Anything beyond that should be fixed.

How to Find and Fix 404 Errors

Tools for Identification

  • Google Search Console: Shows all 404 errors found by Google crawlers
  • Screaming Frog SEO Spider: Crawls the entire website and finds broken links
  • Ahrefs / SEMrush: Identify external links pointing to 404 pages
  • Dead Link Checker: Free online tool for checking individual URLs
  • Server Log Analysis: Shows all 404 requests directly from the server

Step-by-Step Fixing Strategy

  1. Analysis: Collect all 404 errors using the tools mentioned above
  2. Prioritization: Sort by importance (traffic, backlinks, conversions)
  3. Categorization: Identify different causes
  4. Solution Finding: Choose the appropriate solution for each category
  5. Implementation: Set up redirects or restore content
  6. Testing: Check all fixes
  7. Monitoring: Regularly check for new 404 errors

Solutions for Different 404 Scenarios

1. Deleted Pages

Solution: 301 redirect to the most thematically relevant existing page

  • Product deleted → Category page
  • Article removed → Archive page
  • Outdated page → Current version

2. Typos in URLs

Solution: 301 redirect from the incorrect to the correct URL

# Example for .htaccess
Redirect 301 /kontakt.htm /contact/
Redirect 301 /produkte /products/

3. Missing Slashes

Solution: Enforce consistent URL structure

# With trailing slash
RewriteRule ^([^.?]+[^/])$ /$1/ [R=301,L]

# Without trailing slash
RewriteRule ^(.*)/$ /$1 [R=301,L]

4. External Backlinks to 404 Pages

Solution: Contact the webmasters of the linking sites or set up a 301 redirect

  • Important backlinks: Contact the webmaster and request link correction
  • Many backlinks: 301 redirect to a relevant page
  • Unimportant backlinks: 410 (Gone) status code for permanently deleted content

Designing the Perfect 404 Error Page

Essential Elements of a Good 404 Page

  • Clear Error Message: "404 - Page not found" (but phrased in a friendly way)
  • Search Function: Search bar so users can find the page they are looking for
  • Navigation Aids: Links to important pages (Home, Contact, Sitemap)
  • Consistent Design: Should match the rest of the website
  • Contact Option: Email or contact form for inquiries

Creative Examples for 404 Pages

  • Humorous Approaches: Funny images, memes, or wordplay
  • Interactive Elements: Mini-games or puzzles
  • Brand Message: Strengthening corporate identity
  • Helpful Content: Frequently searched pages or current offers

Important: Even a creative 404 page should always include a clear call to action!

404 vs. 410: When to Use Which Status Code?

Status Code Meaning Usage SEO Impact
404 Not Found Page temporarily unavailable Link equity is preserved, page continues to be crawled
410 Gone Page permanently removed Link equity is lost, page is no longer crawled

Recommendation: Use 410 only if the page will truly never return. In most cases, 404 is the better choice.

Common Mistakes in Handling 404 Errors

Mistake 1: Default Server 404 Page

Problem: Generic, impersonal error message from the web server

Solution: Create a custom 404 page in the corporate design

Mistake 2: No Monitoring

Problem: 404 errors are not detected and remain unresolved

Solution: Set up regular checks with SEO tools

Mistake 3: Incorrect Redirects

Problem: All 404 errors redirect to the homepage

Solution: Targeted 301 redirects to thematically relevant pages

Mistake 4: Soft 404s

Problem: Page returns a 200 status code even though the content does not exist

Solution: Use real 404 or 410 status codes

FAQ: Frequently Asked Questions About 404 Errors

Are 404 Errors Bad for SEO?

Not necessarily. Some 404 errors are normal and even desirable. Problems arise when:

  • The errors occur frequently (over 10% of URLs)
  • Important pages are affected
  • Backlinks point to 404 pages
  • Users leave the website because of them

How Many 404 Errors Are Acceptable?

There is no fixed rule, but:

  • Small Websites: 0-5 errors
  • Medium Websites: 5-20 errors
  • Large Websites: Up to 1-2% of all URLs

Important: It's not the number but the quality of the affected pages that matters.

Should I Fix All 404 Errors?

No. Focus on:

  • Pages with backlinks
  • Pages with traffic
  • Pages important for conversions
  • Pages users frequently search for

Unimportant 404 errors can be ignored.

How Long Does It Take for Google to Detect 404 Errors?

Google typically detects 404 errors within:

  • New Errors: 1-2 weeks
  • Fixed Errors: 1-4 weeks until updated in Search Console
  • Complete Cleanup: 1-3 months until all errors disappear from the index

Can I Fix 404 Errors Automatically?

Partially yes:

  • Automatic Redirects: Plugins like "Redirection" can recognize patterns
  • AI-Based Solutions: Tools like Screaming Frog offer automatic suggestions
  • Manual Review: Important redirects should always be checked manually

Caution: Automatic solutions can also create incorrect redirects!

Conclusion: View 404 Errors as an Opportunity

404 errors are not just annoying problems but valuable indicators of improvement potential on your website. A strategic approach to 404 errors can:

  • Significantly improve user experience
  • Save valuable SEO traffic
  • Increase your website's crawl efficiency
  • Strengthen brand perception

The key lies in balance: Not every 404 error needs to be fixed, but the important ones should be identified and corrected. With a well-designed 404 page and a thoughtful redirect strategy, you can turn a potential problem into a strength of your website.

Remember: "A good 404 error is like a stop sign - it warns of a dead end but also shows the right way."

Back to glossary