A genuine 404 error does not automatically cause a Google ranking penalty. If a requested URL does not exist, returning a 404 is usually the correct technical response.
The SEO problem is not the existence of every 404. The real risk comes from important pages that break, internal links that lead to missing URLs, valuable content that is deleted without a relevant replacement, and soft 404s that incorrectly return a successful status code.
Use this general decision framework:
| Situation | Recommended response |
|—|—|
| The URL never existed or has no suitable replacement | Return a 404 |
| The content was intentionally and permanently removed | Return a 410 or correctly configured 404 |
| The page moved to a relevant new URL | Implement a 301 redirect |
| The content should still exist | Restore the page |
| Your website links to the missing URL | Fix or remove the internal link |
| A missing page has valuable traffic or backlinks | Review the page’s purpose before choosing restoration or redirection |
A redirect should be based primarily on user intent and topical relevance, not simply on the fact that the old URL has backlinks.
What Is a 404 Error?
A 404 is an HTTP status code meaning that the server could not find the requested resource.
A visitor may encounter a 404 when:
- A page has been deleted
- A URL has changed without a redirect
- Someone mistypes the address
- An internal link contains an error
- An external website links to an outdated URL
- A product, article, or service page is permanently removed
- A site migration changes the URL structure
- A URL is requested with an invalid parameter or path
For example:
https://example.com/old-service/
may return:
HTTP/1.1 404 Not Found
The server is functioning, but it cannot locate the requested page. This differs from a 500 server error, which indicates a problem processing the request.
A branded or custom 404 page is still a 404 if the server returns the correct HTTP status. The visual design does not determine the status code.
Do 404 Errors Hurt SEO?
Normal 404 errors do not directly lower a site’s rankings. Websites naturally accumulate some 404s from mistyped URLs, outdated external links, deleted content, and normal site changes.
A 404 deserves attention when the URL:
- Is linked from your navigation or important content
- Receives organic search traffic
- Has valuable or relevant backlinks
- Was created by a migration or redesign
- Represents a product, service, or article that should still exist
- Receives conversions or other commercially important visits
- Appears in an XML sitemap
- Is referenced by canonical, hreflang, or structured-data markup
A random URL generated by a typo is usually less important than a broken service page linked from the main navigation.
How Broken Pages Can Affect SEO Indirectly
1. They interrupt the user journey
A visitor who clicks a link expects a useful destination. If the link leads to a 404, the visitor may leave, especially when the missing page was part of a purchasing, support, or research journey.
One isolated 404 is unlikely to create a measurable ranking problem. A pattern of broken links across important sections indicates a more serious usability and maintenance issue.
2. They can remove access to useful content
If an old guide, product page, or service page is deleted, visitors may lose access to information that still satisfies a search need.
The best response may be to:
- Restore the original page
- Update and preserve it at the same URL
- Redirect it to a closely related replacement
- Return a 404 or 410 if the content is genuinely no longer appropriate
A backlink alone does not justify redirecting a URL to an unrelated page.
3. They can create crawl inefficiency on large or problematic sites
Search engines can discover missing URLs through internal links, XML sitemaps, external links, redirects, and generated URL patterns.
A small number of 404s is normal and generally insignificant. Crawl-budget concerns become more relevant when a large website:
- Generates very large numbers of unnecessary URLs
- Uses problematic URL parameters
- Contains widespread internal linking errors
- Includes invalid URLs in XML sitemaps
- Creates crawl traps or redirect loops
- Has a migration that produces thousands of unexpected missing URLs
For most small and medium-sized websites, fixing user-facing broken links is a higher priority than trying to eliminate every 404 reported by Google.
4. They may reveal a larger technical problem
A sudden increase in 404s can indicate:
- A failed migration
- Incorrect rewrite rules
- A change to URL formats
- Broken navigation or templates
- Deleted content without redirect planning
- CMS or plugin configuration problems
- Invalid sitemap generation
- Incorrect canonical or hreflang references
In this situation, the 404s are symptoms of a wider implementation issue.
Hard 404 vs. Soft 404
What Is a Hard 404?
A hard 404 occurs when a genuinely unavailable URL returns an HTTP 404 status code.
The page may display a helpful branded error template, but the response still tells browsers and search engines that the requested resource is not available.
For a page that does not exist and has no relevant replacement, this is normally the correct setup.
What Is a Soft 404?
A soft 404 occurs when a URL appears to be unavailable, empty, or not a meaningful page, but the server returns a successful response such as 200 OK.
Examples may include:
- A deleted product page that displays “Product not found” but returns
200 OK - An empty page that provides no meaningful content or next step
- A generic error template delivered with a successful status
- A search-results URL with no results that is treated as a normal indexable page
However, thin content alone is not automatically a soft 404. A short page can still be valid if it serves a clear purpose, such as a contact page, login page, confirmation page, or concise product page.
Search engines may classify a page as a soft 404 based on both its HTTP response and what the page communicates to users. If the requested resource is unavailable, configure the URL to return a genuine 404 or 410. If the URL should be valid, provide useful content that satisfies its purpose.
Hard 404, Soft 404, 410, and 301 Compared
| Situation | HTTP response | Meaning | Recommended action |
|—|—:|—|—|
| Missing page with no replacement | 404 | The resource cannot be found | Keep the 404 and fix internal links pointing to it |
| Permanently removed page | 410 | The resource is intentionally gone | Use it when it accurately reflects the page’s state |
| Missing-looking page returning success | Usually 200 | The URL appears unavailable but claims to be valid | Return 404/410 or make the page genuinely useful |
| Page moved to a relevant destination | 301 | The old URL has a suitable replacement | Redirect to the closest relevant page |
| Temporary relocation | 302 or another temporary redirect | The move may not be permanent | Use only when the relocation is genuinely temporary |
A 410 is not generally a ranking advantage over a 404. It communicates permanent removal more explicitly, but the correct choice is the status that accurately describes the resource.
When Should You Use a 301 Redirect?
Use a 301 redirect when the old URL has moved permanently or when a closely related replacement satisfies the visitor’s original intent.
Appropriate examples include:
- An article moved to a new URL
- A service page replaced by an updated version
- Several product pages consolidated into one closely related current page
- A category URL changed during a site restructure
- A page moved from HTTP to HTTPS
- A URL moved to a new directory
Example:
/old-seo-guide/ → /technical-seo-guide/
The destination should be relevant enough that a visitor who requested the old URL would reasonably expect to find the new page.
Do Not Redirect Every 404 to the Homepage
A homepage redirect is usually inappropriate when the old page concerned a specific topic, product, or service. It can confuse visitors and make it harder to identify migration or content-management problems.
Avoid redirecting a deleted URL to:
- An unrelated blog post
- A vaguely similar product
- The homepage solely to avoid a 404
- A category page that does not address the original need
If no meaningful replacement exists, a clear 404 or 410 is generally better.
Should a Backlink-Bearing 404 Always Be Redirected?
No.
Backlinks are one factor in the decision, but they do not make an irrelevant redirect appropriate. First determine whether:
- The old page still serves a useful purpose
- The original content can be restored or updated
- A genuinely relevant replacement exists
- The URL receives qualified traffic or conversions
- The backlinks are relevant and trustworthy
- A redirect would help users rather than merely pass them elsewhere
Restoring useful content may be better than redirecting it. If there is no appropriate replacement, allowing the URL to return a 404 or 410 is preferable to sending users to an unrelated destination.
For more context on evaluating backlink quality and relevance, see What Makes a High-Quality Backlink? Complete SEO Guide.
When Should You Use a 410 Status Code?
A 410 status code indicates that a resource has been intentionally and permanently removed.
It may be suitable when:
- A discontinued product will not return
- A temporary campaign has ended permanently
- Content was deliberately removed with no replacement
- A spam-generated URL pattern should no longer be treated as valid
- A page was intentionally retired for legal, business, or editorial reasons
The practical distinction is:
- 404: The resource cannot be found.
- 410: The resource is known to be permanently gone.
For many websites, a correctly configured 404 is sufficient. Choosing 410 instead of 404 is usually not an SEO optimization or ranking tactic. Use it when the permanent-removal meaning is useful and accurately reflects the situation.
How to Create a Useful Custom 404 Page
A custom 404 page does not make the missing URL valid or indexable. Its purpose is to help visitors recover.
A useful 404 page can include:
- A clear explanation that the page was not found
- Normal site branding and navigation
- A link to the homepage
- Site search, if available
- Links to important categories or services
- Contextually relevant alternatives
- Contact or support information when appropriate
For example, a missing product page might link to:
- The current product category
- Similar products
- A product finder
- Shipping information
- Customer support
Keep the alternatives focused. A long list of unrelated links can make the error page harder to use.
Verify That the Custom Page Returns 404
Do not rely only on what appears in a browser. A page can look like an error page while returning 200 OK.
Verify the response using:
- A browser-based HTTP header checker
- A technical SEO crawler
- Developer tools
- Command-line tools such as
curl, where appropriate - Your hosting platform or CMS diagnostics
The response should show a genuine 404 or 410 when the requested content does not exist.
How to Find 404 Errors on Your Website
Use multiple data sources because no single tool shows every type of broken URL.
1. Review Google Search Console
In Google Search Console, review the Page indexing report and any relevant issue details, including Not found and Soft 404 classifications where reported.
For every URL, determine whether it is:
- A legitimate removed page
- A broken internal link
- A page that should be restored
- A URL that should redirect
- A URL created by an external link or user mistake
- A generated or invalid URL pattern
Search Console reports URLs Google has discovered; it does not mean every listed 404 requires a redirect. Prioritize pages connected to traffic, links, navigation, conversions, or important content.
2. Crawl the Website
Use a crawler such as Screaming Frog, Semrush, or Ahrefs to identify URLs returning 4xx responses and the pages linking to them.
Check for:
- Broken navigation links
- Broken links within articles
- Missing images, scripts, stylesheets, or downloads
- Redirect chains
- Redirect loops
- 404 URLs in XML sitemaps
- Canonical tags pointing to missing URLs
- Hreflang references pointing to unavailable pages
- Structured data containing obsolete URLs
A crawler is especially useful because it shows whether the broken URL is linked internally and how prominently it is connected to the site.
3. Review Analytics Data
Analytics can show whether visitors are reaching broken pages and where those visits originate.
Pay particular attention to 404s that receive:
- Organic visits
- Paid traffic
- Referral traffic
- Direct visits from bookmarks or campaigns
- Visits from high-value pages or conversion paths
A URL with no visits and no internal links is usually less urgent than a missing URL receiving qualified traffic.
4. Analyze Server Logs on Larger Websites
Server logs can reveal requests that do not appear in standard crawls, including:
- Search engine crawlers requesting old URLs
- Repeated requests for deleted resources
- Bot-generated URL patterns
- Broken assets
- Parameter combinations
- URLs discovered through external links
Log analysis is most useful for larger sites or websites experiencing unusual crawling and indexing behavior.
5. Review Backlinks and Historical Performance
Use backlink and search-performance data to identify missing URLs that previously had:
- Relevant backlinks
- Organic impressions or clicks
- Strong rankings
- High engagement
- Leads, sales, or other conversions
Do not redirect solely because a URL has links. Assess whether the old page or a relevant replacement still serves the same user need.
If you are building a broader link-acquisition strategy, see How to Build Backlinks Without Buying Links.
How to Prioritize Broken Pages
Not every 404 deserves the same response. Use a prioritization framework based on business impact, user impact, and technical cause.
| Priority | Typical characteristics | Recommended action |
|—|—|—|
| Fix immediately | Broken navigation, key service or product pages, migration-related 404s, URLs with conversions or substantial traffic | Restore, correct the link, or implement a relevant redirect |
| Review soon | URLs with relevant backlinks, historical organic traffic, repeated crawler requests, or placement in important content | Compare restoration, updating, and redirection options |
| Usually monitor or ignore | User typos, random external links, obsolete URLs with no traffic, links, or internal references | Keep a correct 404/410 and monitor for patterns |
This framework helps prevent two common mistakes: ignoring commercially important broken pages and wasting time trying to remove every harmless 404.
How to Fix Broken Pages: A Practical Workflow
Step 1: Collect and Classify URLs
Gather 404 and soft 404 URLs from:
- Google Search Console
- Technical SEO crawlers
- Analytics
- Server logs
- Internal link checks
- Backlink tools
- Migration mapping documents
Record the likely cause, source, traffic, backlinks, business value, and recommended action.
Step 2: Fix Internal Links First
If your website links to a missing URL, update or remove the link.
Check:
- Main navigation
- Footer links
- Blog posts
- Related-content modules
- Breadcrumbs
- Product filters
- Calls to action
- XML sitemaps
- Canonical tags
- Hreflang annotations
- Structured data
Internal links are within your control, so they should generally receive priority over random external references.
Step 3: Choose the Correct Response
Use this decision process:
- The page moved: Implement a 301 redirect.
- A closely related replacement exists: Redirect to that page.
- The original content remains useful: Restore or update it.
- The content is permanently gone: Return a 410 or 404.
- The URL is caused by an internal mistake: Correct the link or URL structure.
- The URL is generated by spam or an invalid pattern: Ensure it does not resolve as a valid page and investigate why it is being generated.
Step 4: Remove Obsolete References
After deciding that a URL should remain unavailable:
- Remove it from XML sitemaps
- Replace internal links
- Update canonical tags
- Update hreflang references
- Correct structured-data URLs
- Remove it from navigation and related-content modules
- Check campaign, email, and advertising links where relevant
A deleted URL should not remain in a sitemap intended to describe valid, indexable pages.
Step 5: Test the Implementation
For every important fix, verify:
- The expected HTTP status code
- The redirect destination
- The destination’s topical relevance
- Redirect chains and loops
- Whether the old URL accidentally returns
200 OK - Whether the URL remains in XML sitemaps
- Whether canonical and hreflang references are valid
- Whether important internal links still point to the old URL
Test both the browser-visible result and the actual HTTP response.
Step 6: Monitor After Launch
Continue monitoring after:
- Website migrations
- Redesigns
- Domain or HTTPS changes
- URL restructuring
- CMS changes
- Large content removals
- Template or plugin updates
A crawl immediately after launch is useful, but recurring monitoring is necessary because new broken URLs can appear later.
Common 404 SEO Mistakes
Mistake 1: Redirecting Every 404 to the Homepage
This may hide a missing page without helping the visitor. Redirect only when the destination is genuinely relevant.
Mistake 2: Returning 200 OK for Missing Content
A generic “page not found” template that returns 200 OK can create a soft 404. Check the actual response rather than relying on the visible page.
Mistake 3: Treating Every Thin Page as a Soft 404
Thinness alone does not determine whether a page is invalid. Evaluate whether the page has a legitimate purpose and provides appropriate information.
Mistake 4: Assuming Every Backlink-Bearing URL Needs a Redirect
Relevant backlinks can justify further investigation, but they do not justify an unrelated redirect. Restoration may be better, and a correct 404 may be appropriate when no replacement exists.
Mistake 5: Leaving Deleted URLs in XML Sitemaps
Sitemaps should contain valid URLs that you want search engines to discover and evaluate. Remove permanently deleted URLs.
Mistake 6: Changing URLs Without Redirect Planning
Before a migration, map important old URLs to their most relevant new destinations. Do not create blanket redirects without reviewing intent and relevance.
Mistake 7: Treating Every Search Console 404 as an Emergency
Search Console may report normal user mistakes, old external links, and obsolete URLs. Prioritize issues based on traffic, links, internal references, conversions, and migration impact.
Are 404 Errors Normal?
Yes. Some 404s are an expected part of maintaining a website.
The goal is not to eliminate every 404 discovered by a search engine. The goal is to ensure that:
- Important pages remain available
- Internal links lead to valid destinations
- Relevant old URLs are redirected when appropriate
- Useful content is restored rather than unnecessarily discarded
- Permanently removed resources return an accurate status
- Custom error pages help visitors continue
- Soft 404s are corrected
- Large-scale URL-generation problems are investigated
A small number of well-managed 404s is usually less concerning than a smaller number of broken URLs affecting important pages.
Conclusion
404 errors and SEO are connected, but a genuine 404 does not automatically harm rankings. For a URL that no longer exists and has no relevant replacement, returning a 404 is often the correct response.
The important work is deciding which missing URLs matter. Fix broken internal links, restore useful content, redirect only to relevant replacements, and use 404 or 410 when content is genuinely unavailable. On large or technically complex sites, also investigate unnecessary URL generation and crawl inefficiency.
A practical process is:
- Find 404s through Search Console, crawling tools, analytics, backlinks, and logs.
- Prioritize URLs by traffic, links, internal importance, conversions, and migration impact.
- Restore useful pages or redirect them only to closely relevant replacements.
- Return an accurate 404 or 410 when no replacement exists.
- Remove obsolete sitemap and markup references.
- Verify status codes, redirects, and internal links.
- Monitor after migrations and major site changes.
FAQ
Does Google Penalize Websites for 404 Errors?
No. A genuine 404 does not automatically cause a ranking penalty. Some 404s are expected because users mistype URLs, external links become outdated, and content changes over time. The priority is fixing important broken pages and internal links.
Should I Redirect Every 404 to the Homepage?
No. Redirect a missing URL only when the destination is genuinely relevant to the original request. If no suitable replacement exists, a helpful 404 or 410 is usually better than an irrelevant homepage redirect.
Is a 404 or 410 Better for SEO?
Neither is generally a ranking advantage. A 404 means the resource cannot be found, while a 410 indicates that it has been permanently removed. Use the status code that accurately reflects the resource’s condition.
What Is the Difference Between a 404 and a Soft 404?
A genuine 404 returns an HTTP 404 status for a missing page. A soft 404 appears to be missing or unavailable but returns a successful response, commonly 200 OK. Thin content alone does not automatically make a page a soft 404.
When Should I Use a 301 Redirect?
Use a 301 when the old URL has moved permanently or when a closely related replacement satisfies the visitor’s original intent. Do not redirect merely because the old page has backlinks.
Should I Restore a Deleted Page Instead of Redirecting It?
Restoration may be better when the original content remains useful, receives relevant traffic, or satisfies a search need that no other page addresses. A redirect is appropriate when a relevant replacement exists.
How Can I Check Whether My Custom 404 Returns the Correct Status?
Use an HTTP header checker, technical SEO crawler, browser developer tools, or an appropriate command-line tool. Confirm that the missing URL returns 404 or 410, rather than 200 OK.
How Often Should I Check for Broken Pages?
Check after migrations, redesigns, URL changes, CMS updates, and major content removals. For ongoing maintenance, schedule crawls according to site size, publishing frequency, and technical complexity.
Need Help Growing Your Search Visibility?
Get a tailored SEO and link building strategy designed around your website, niche and growth goals.