SEO Glossary / 404 Error

404 Error

What is a 404 Error?

A 404 error is an HTTP status code indicating that the server could not find the requested resource or page. In other words, the server could not locate the web page or file at the requested address. The number "404" is derived from the "HTTP 404 Not Found" response status code that the server returns to the client (typically a web browser).

Causes of 404 Errors

Most often, this error occurs when a user clicks on a hyperlink to a page or resource that has been removed from the server, or when the resource has changed its address. It can also happen when a user types in an incorrect URL or when a website is undergoing maintenance. Links pointing to 404 pages are called broken links.

Browser Behavior

When a 404 error occurs, the web browser typically displays a message to the user stating that the requested page or resource cannot be found. Web developers can customize this error message to provide more information or suggest alternative pages for users to visit.

Here’s an example of a custom 404 page from Mozilla Developer Network (MDN).

Importance of Handling 404 Errors

Handling 404 errors properly is crucial for both user experience and SEO:

  • User Experience A well-designed 404 page can guide users back to relevant content, reducing frustration and improving the overall user experience.
  • SEO Search engines may lower the ranking of websites with many broken links, so it’s important to monitor and fix 404 errors to maintain good SEO health.

Customizing 404 Error Pages

Web developers can create custom 404 error pages to provide a better user experience. A good 404 page should:

  • Explain that the page could not be found.
  • Offer navigation options to other parts of the website.
  • Provide a search bar for finding relevant content.
  • Include contact information for further assistance.

How to Monitor and Fix 404 Errors

  1. Use Webmaster Tools Platforms like Google Search Console can help you identify 404 errors on your website.
  2. Set Up Redirects Implement 301 redirects to guide users from broken links to relevant pages.
  3. Update Links Regularly check and update internal and external links to ensure they point to valid pages.

FAQ

What is a 410 Error?

The 410 error is very similar to the 404 error. It indicates that the server was able to find the requested address, but the resource is no longer available and will not be available again. The 410 Gone response code specifically indicates that the resource used to exist and is now deleted.

For website visitors, the 410 is generally no different from the 404 error, but it provides more specific information to search engines, which can help with proper indexing and SEO management.

For more detailed information on handling HTTP errors and improving web performance, refer to authoritative sources such as Mozilla Developer Network (MDN) and Google's Web Fundamentals.

SEO for Local Business

People don't search for local businesses in the Yellow Pages anymore. They use Google. Learn how to get more business from organic search with our SEO guides for local businesses.

Start using Ranktracker for free!

Find out what’s holding your website back from ranking

Get a free accountOr Sign in using your credentials
Start using Ranktracker for free!