What does error 404 mean and why does it occur?
You know what it’s like: you click on a link, but a page appears informing you that the requested website is not available. Often, error messages like “404 Not Found” or “404 Page Not Found” are displayed.
How does the “404 Not Found” message occur?
The 404 error is a standardized HTTP status code. It is sent by the web server of a website to the web browser (the client) that made the HTTP request. The browser then displays this code as an error page.
The classic trigger for the error code occurs when web page content is removed or relocated to a different URL. However, other reasons can also cause a 404 HTTP page to appear in your browser—here’s an overview of some typical ones:
- The URL or its content (such as files or images) have either been deleted or moved (without adjusting the website’s internal links accordingly).
- The URL was incorrectly created (perhaps due to lack of care during setup or redesign), mislinked (e.g., through incorrect tagging), or incorrectly entered in the browser bar.
- The web server responsible for the website is not operational or the connection is interrupted.
- The domain name accessed cannot be converted into an IP address in the Domain Name System.
- The domain name called up does not (or no longer) exist.
Dead links often remain for an extended period because the operators of the linking online service simply do not know that the linked content has been deleted or moved. This particularly concerns:
- Search engines: Search results often include websites that are no longer available online (at least not under the specified URL).
- Linking web services such as blogs, news portals, etc.: They are often not informed that a webpage has been removed or given a new URL.
- Get online faster with AI tools
- Fast-track growth with AI marketing
- Save time, maximize results
How do you fix error 404?
A 404 error is rarely something to celebrate – after all, it means you’re not seeing the content you expected. However, encountering a 404 error page doesn’t always indicate that the information is completely gone. Sometimes, the issue is quickly identified, and the webpage you were looking for can still be accessed. So, how can you fix the “404 Not Found” error? It’s recommended to try these solutions in the order listed.
Reload the website
The 404 code may appear simply because the page didn’t load correctly. You can quickly check this by reloading the page using the appropriate button in your browser or pressing the F5 key.
Check the URL
Whether you typed the web address manually in the URL bar or followed a link, errors can easily occur. Therefore, it’s important to check the specified path of the webpage. Perhaps you, or the person who created the link, made a typo in the URL. In addition to typos, missing or incorrect slashes can also trigger the error message. This issue is easier to spot with well-structured Clean URLs (also known as “friendly URLs”), as they use readable words instead of confusing abbreviations for the path.
Search the folder structure
If a URL structured as example.com/Folder1/Folder2/Folder3 results in a 404 error page, you can check in the preceding folder (in this case example.com/Folder1/Folder2) to see if the desired page is linked there. To do this, simply remove the last specified folder in the URL bar**. The webpage you are looking for might have been provided with a new link, which can be found on the parent page. If you don’t find it there, you can continue to search the higher-level folders for information and links to the webpage you want. If you also have no luck there and end up on the homepage, try the next method.
Use the website’s search function
Many websites offer a search function on the homepage. By entering one or more keywords, you can also find the webpage you are looking for, even if it is now displayed under a different URL than you thought.
Use a search engine
Furthermore, you have the option to use your preferred search engine to hunt for the webpage. If the desired page still exists, you often find it by entering the website domain and a keyword-based description of the topic you’re looking for.
Clear cache and cookies
If you can access the website from another device and the HTTP 404 error only appears repeatedly on a specific device, the error might be related to your browser. Clearing the browser cache and all cookies for the website could allow the page to be displayed on that device again.
Contact the website
If the previously mentioned methods don’t work, your next step is to contact the website administrators directly (you can usually find their contact information in the imprint or on the “about page”). The website operators should be able to tell you if the subpage you’re looking for still exists. If it has moved to a new URL, you’ll provide crucial information to the webmasters, allowing them to resolve the 404 error by setting up a domain redirect, which will automatically redirect visitors from the old address to the new one.
Do HTTP 404 errors affect ranking?
Search engines like Google and Bing view 404 errors negatively, especially when a website has many of them. When search engine crawlers frequently encounter 404 errors on a site, they infer that the website is poorly maintained. Broken links, therefore, harm the site’s ranking, as websites with numerous 404 error pages are downgraded in search engine results or may not be indexed at all. This can result in significant losses in visitor traffic for the linked webpage.
Moreover, a website with multiple broken links or a dead landing page (a page accessed via the search engine) risks losing the trust of users in the online presence. Many users then may not bother to continue searching for the desired content on the site—after all, when encountering an error 404 message, users cannot be sure if those contents still exist.
Tip: Want to know how well your website is found via search engines? Test it right here with the free website checker:
How to identify error 404 on your website
For website operators, it is important to prevent any HTTP 404 pages. This applies to avoiding 404 errors on their own website (internal error 404) as well as linking to 404 pages on other online offers (external 404 error page). There are various free tools that make searching for broken links significantly easier. Three of the best-known are:
- Google Search Console (formerly “Google Webmaster Tools”): If you own a Google account and your website is registered, the Google Search Console is a great option. The 404 errors found by the Google Crawler are displayed in Google’s web tool and can also be marked as corrected here. It includes other features as well—such as viewing errors in the robots.txt and using crawling statistics to track how often the Google Crawler has searched the website.
- Dead Link Checker: One of the simplest and fastest tools for finding internally and externally linked 404 pages is the Dead Link Checker. With this web app, you simply enter the internet address of the respective website into the input line and start the check. You have the option to verify a single webpage or the entire website. The application lists all detected error pages with status code and URL.
- W3C Link Checker: The World Wide Web Consortium’s (W3C) online tool conducts an extensive test of each page of a website. Accordingly, the checking process takes longer than with other web apps for link verification. The W3C Link Checker works similarly to the Dead Link Checker: you enter the URL to be checked into the designated field and let the tool do the rest. Additionally, you can specify some extra details during the website inspection.
How to create an error 404 page
In some content management systems, a 404 error page is automatically generated when a website’s URL cannot be found. These are standard pages for marking an HTTP 404 error, often lacking originality in design. However, they can typically be customized through specific CMS extensions. If your CMS does not offer a function to create or modify a 404 page, or if your site is solely based on HTML, PHP, etc., it becomes a bit more complicated. In that case, you can create an error page as follows:
- If not already created, create an error page (
404.htmlor404.php) in the root directory. - Open the .htaccess file (or create one if it doesn’t exist) in the root directory.
- Add the entry
ErrorDocument 404 /404.htmland save the change. This code generates the error page. - To check, access a non-existent webpage under your website’s domain – the error 404 should now appear in the browser window.
You can use the .htaccess file with the above instructions not only to catch the HTTP 404 error, but also to handle any HTML status codes.
Why should you create a custom 404 page?
A standard 404 error page is certainly better than none at all. However, a custom page for the error 404 is beneficial for several reasons:
✓ Output of the appropriate status code: For example, if the requested content is no longer available on the website, it should be explicitly marked with the identifier “410 Gone” – this code indicates that the sought content has been permanently deleted.
✓ Incorporation of additional links: Through your custom error page, you can offer further links (for example, to your homepage or subpages that have content overlap with the originally requested page). A search function for your website can also be provided here.
✓ Consistent style: By ensuring that the error message design matches the style of your website, you have already laid the foundation for a good 404 error page.
✓ Positive aspects for visitors: With a creative 404 message, you can even appease some visitors. They will still be disappointed not to find the promised content on your website. However, an original and/or amusing 404 webpage can definitely make up for this letdown.
- Intuitive website builder with AI assistance
- Create captivating images and texts in seconds
- Domain, SSL and email included

