Key Takeaways:
- Every 404 error is a missed opportunity for traffic and conversions
- 301 redirects transfer about 90% of link power to the new URL
- Regular checks prevent errors from accumulating unnoticed
A visitor clicks a link to your website. Instead of the expected page, they see an error message: "Page not found." They click back and try the next search result. You just lost a potential customer.
This scenario repeats daily on millions of websites. Broken links arise constantly – from deleted pages, changed URLs, typos in links. Without active maintenance, the number of 404 errors grows over time until it measurably costs traffic and rankings.
What 404 Errors Really Mean
The HTTP status code 404 means: The requested resource was not found. The server works, but nothing exists at this URL. That's a normal part of the web – URLs change, content disappears.
It becomes problematic when 404 errors occur where you expect traffic. A product page that has external backlinks. A blog article that ranks in search results. A landing page you promoted in advertising materials.
Each of these 404 errors directly costs you visitors. Worse: When Google systematically encounters 404 pages, trust in your website drops. Crawlers waste time on dead paths instead of indexing valuable pages.
Understanding the Different HTTP Status Codes
Not every error is a 404, and not every redirect is the same. The differences matter for the right response.
| Status Code | Meaning | SEO Impact |
|---|---|---|
| 200 | OK, page exists | Positive |
| 301 | Permanent redirect | Transfers link power (~90%) |
| 302 | Temporary redirect | Transfers less link power |
| 404 | Not found | Negative if important page |
| 410 | Permanently removed | Signals Google: Forget this URL |
| 500 | Server error | Critical, fix immediately |
The 301 redirect is your most important tool. It tells search engines: This page has moved, here's the new address. Google then transfers the old URL's value to the new one.
How 404 Errors Arise
Deleted Pages and Content
The most common cause: A page gets deleted without anyone checking if external links point to it. The old product is sold out, the blog article outdated, the promotion ended. The URL disappears, but links across the web remain.
Changed URL Structures
During a website relaunch, URL structures often change. "/products/category/productname" becomes "/shop/productname". Without redirects, all old links lead nowhere.
Typos in Links
Internal links are often inserted manually. A typo, a missing character, uppercase instead of lowercase – and the link doesn't work. For external links from other websites, you have no control over their typos.
CMS Changes and Plugins
WordPress plugins sometimes change URL structures. Category prefixes get added or removed. Permalink settings change. Each of these changes can break existing links.
Finding 404 Errors Systematically
Google Search Console
Google Search Console shows under "Pages" all URLs Google couldn't index. The "Not found (404)" report lists all affected pages. Prioritize by access count – the more clicks a 404 page generates, the more urgent the fix.
Crawling Tools
Tools like Screaming Frog or Sitebulb search your entire website and find broken links. They show which pages link to 404 URLs, so you can fix the source of the problem.
Server Logs
Your server logs record every access, including to non-existent pages. Analysis shows which 404 URLs are called most frequently. This is especially valuable for external links that crawling tools don't find.
Choosing the Right Redirect
Not every 404 error needs a redirect. Sometimes a 404 or 410 is the right answer. The decision depends on context.
When to Use 301 Redirect
Use 301 when there's a sensible new destination page. The product was replaced by a successor model? Redirect to the successor. The blog article was updated at a new URL? Redirect to the new version.
The destination page should be thematically relevant. A redirect from a product page to the homepage is better than nothing, but not ideal. The visitor is looking for a product and lands on a generic page.
When to Use 410 (Gone)
Status code 410 signals: This resource is permanently gone and won't return. This is appropriate for:
Time-limited promotions that won't return. Products permanently removed from inventory with no successor. Content that had to be legally removed.
410 accelerates de-indexing at Google. The search engine understands: There's nothing more to get here.
When 404 Is Acceptable
Not every URL needs a redirect. Pages without traffic, without backlinks, and without rankings can simply remain as 404. The effort for a redirect isn't worth it.
Before deciding, always check: Does this URL have external backlinks? Does it still generate traffic? Does it rank for any keywords?
Implementing Redirects Technically
In .htaccess (Apache)
For Apache servers, redirects in the .htaccess file are standard:
Redirect 301 /old-page.html https://www.example.com/new-page.html
For more complex patterns, use RewriteRules:
RewriteEngine On
RewriteRule ^old-category/(.*)$ /new-category/$1 [R=301,L]
In WordPress
The "Redirection" plugin is the standard for WordPress. It offers an interface for managing redirects and automatically logs 404 errors.
Yoast SEO Premium has redirect functionality built in. When you change a URL, the plugin automatically suggests a redirect.
In nginx
Nginx servers use different syntax in the configuration:
location /old-page.html {
return 301 https://www.example.com/new-page.html;
}
Common Redirect Mistakes
Redirect Chains
Page A redirects to B, B redirects to C, C redirects to D. Each step costs load time and link power. Google follows a maximum of five redirects. Always keep the path direct: from old to new, no intermediate stops.
Redirect Loops
A redirects to B, B redirects back to A. The result: The browser spins in circles until it gives up. Loops often arise with complex redirect rules. Test every new rule immediately after setting it up.
Wrong Redirect Types
Using 302 instead of 301 is a common mistake. Many CMS systems default to 302. That's meant for temporary redirects and transfers less SEO value. Verify that your permanent redirects are really 301.
Mass Redirects to Homepage
Redirecting all old URLs to the homepage is better than nothing, but not by much. Google recognizes this pattern and treats it as a "soft 404." The link power is still lost.
Optimizing the 404 Page
Not all 404 errors can be prevented. Some arise from user typos, others from outdated external links you don't control. A good 404 page catches these visitors.
A helpful 404 page offers orientation. It explains friendly what happened. It shows the search function prominently. It links to popular pages or categories. It offers a clear path back to normal navigation.
What a 404 page shouldn't do: Blame. "You clicked a wrong link" is defensive and rude. Better: "Unfortunately this page no longer exists. Here are alternatives."
Monitoring and Prevention
Set up regular checks. You should check Search Console weekly for new 404 errors. A monthly crawl with Screaming Frog finds broken internal links.
Always do an impact analysis before URL changes. Which pages have backlinks? Which rank for keywords? These pages need redirects, others you can ignore.
Document all redirects. An Excel spreadsheet or database with source, destination, and date helps with later problems.
Check your website regularly with our Link Checker and identify broken links before they become problems.
Frequently Asked Questions
How long should a 301 redirect stay active?
At least one year, ideally indefinitely. Google needs time to crawl and index the new URL. External links you don't control may still point to the old URL for years. It costs almost nothing to keep redirects permanently.
How many redirects can a website have?
There's no technical limit, but each redirect costs minimal server resources. With thousands of redirects, you should consider a database-driven solution instead of text files. Performance problems only arise with extreme quantities.
Does a 404 error harm the ranking of the entire website?
Individual 404 errors don't harm. They're a normal part of the web. It becomes problematic with systematic issues: hundreds of 404 errors, important pages without redirects, permanently broken internal links. This signals Google poor maintenance.