What is a 404 error?

Article Summary

A 404 error is an error page that appears when a user attempts to open a web page that cannot be found on the website’s server. The name “404” comes from the HTTP status code 404, which indicates that the server cannot find the requested page. This error can occur for various reasons, such as:

  1. Deleted page: the page has been removed from the website and no longer exists.
  2. Invalid URL: The user entered an incorrect URL or followed a broken link.
  3. Moved page: the page has been moved to a different URL without setting up the proper redirect.

The Importance of a Good 404 Page

Although a 404 error may seem negative at first glance, it offers an opportunity to improve the user experience. A well-designed 404 page can help the user find their way back and prevent them from becoming frustrated. Here are some elements that an effective 404 page can include:

  • Clear notifications: clearly inform the user that the requested page cannot be found.
  • Navigation options: provide links to the homepage, popular sections of the website, or a search bar to help users quickly find the information they need.
  • Attractive design: use a visually appealing and consistent design that matches the rest of the website.
  • Humor or personality: some websites use humor or a personal message to make the error less frustrating.

Examples of good 404 pages

Many companies and websites have found creative ways to make their 404 pages useful and appealing. Here are a few examples:

  • Humor and illustrations: websites such as GitHub and Slack use funny illustrations and messages to entertain the user and distract them from the error.
  • Search bar and navigation: Google and other search engines provide a search bar and links to key pages to quickly guide the user further.
  • Personal message: Companies like LinkedIn use friendly and informative messages to inform users about the error and help them navigate further.

Tip: Check out our article here featuring the best 404 pages.

Resolving 404 errors

Resolving a 404 error is crucial for an optimal user experience and a healthy website. It is important to regularly check the website for broken links and deleted pages. This can be done using online tools that automatically check the status of all links. In addition, all 404 errors must be logged and analyzed to identify the cause of the issues, such as misspelled URLs, changed URL structures, or deleted content.

By using a custom 404 page with clear navigation options and a search bar, users can easily return to the correct content or page. Finally, it is recommended to set up 301 redirects for deleted pages that have been moved to a new location, so that SEO value is preserved and users are no longer confronted with dead links.

Other status codes

In addition to the well-known 404 page, there are other HTTP status codes that indicate specific errors or information. Each of these status codes helps users and administrators quickly understand what is going wrong and how it can be resolved, while keeping the user experience at the forefront. These include, for example:

  • A 301 redirect indicates that a page has been permanently moved;
  • A 302 redirect indicates a temporary redirection;
  • A 403 error indicates denied access, usually due to a lack of the proper permissions;
  • A 500 error indicates an internal server error, which points to a problem on the server side itself;
  • A 503 error often indicates an overloaded server or excessive server load.

In summary

A 404 page is an important part of the user experience on a website. By providing a clear, useful, and attractive 404 page, websites can prevent users from becoming frustrated and help them quickly find the information they’re looking for. It’s an opportunity to be creative and leave a positive impression, even when things go wrong.

Blog

How much does a professional online store cost?

The costs of an online store vary widely, as design, technology, integrations, and content all factor into the price. You’ll gain insight into the key cost items, typical price ranges, and where you can focus your efforts without compromising future growth.
Read more »

Other website terms

Meta Tags

A meta tag is a small piece of text that does not appear on your website but gives search engines like Google an idea of what your website has to offer.
View more »

JavaScript

JavaScript is a scripting language used to design a web page. You can think of it as a computer language that provides instructions to, for example, a browser, a server, or a program.
View more »

Would you like to brainstorm with Hans about your online marketing challenges or discuss opportunities for a new custom website?

Secret Link

Your information