What is a 404 error?
A 404 error is the server's message that it can't find the page or file you're trying to open. The server sends the message via the HTTP protocol, which governs communication between your browser and the web server. If the address doesn't match any existing resource, the server responds with the status code 404 and an error page. You've probably seen messages such as "404 Not Found" or "Page not found".
In practice, the error occurs when someone has deleted a page, moved it without a redirect or misspelt the URL. It can also occur when an internal link points to an outdated file name. The same happens if an element such as a CSS file or an image is no longer on the server. A 200 code confirms that the server has delivered the page. A 404 means the resource doesn't exist. At least not yet. For search engines, this means that, by default, the page shouldn't be indexed.
How does a 404 error work?
You enter a web address, and your browser sends an HTTP request to the web server. The server looks for the content at the address you requested. If it can't find anything, it responds with HTTP 404. In other words, the error comes from a completely normal process in web communication. The outcome is just negative.
Think of it as a letter to an address where the recipient no longer lives. The letter is returned, and you're told the address doesn't exist. The browser does exactly the same with a 404 error.
Most websites have a customised 404 page with a logo, navigation and perhaps a search function. That way, the user isn't left without direction. You can use the page to show off your brand and help the user move on. If it suits the brand, you can even give the page a bit of personality through tone or a little visual humour.
Why do you need to know about 404 errors?
404 errors affect both the user experience and your SEO. When a user lands on a dead page, they often get frustrated and leave the site. That can quickly increase your bounce rate. At the same time, crawlers spend time on pages with no value, which reduces the effectiveness of your crawl budget. Google may visit and index your most important pages less often.
Errors you leave in place can also create duplicate content. This happens when pages without content return a 200 status instead of a 404. This is called a "soft 404", and it can confuse Google's algorithms. Correct handling of status codes is therefore part of technical SEO. It's an important element when you plan a site optimisation strategy, for both users and search engines.
What types and variants are there?
- Standard 404: the classic “not found” error. The server returns status code 404 and gives no further explanation. The error can be temporary if the page is simply missing a redirect.
- Soft 404: the page doesn't exist but still incorrectly returns code 200 OK. The crawler therefore thinks the page is still valid.
- Related status codes: 410 Gone means the page has been permanently removed. 301 and 302 are used for redirects. 403 means access is denied. When you work with SEO, it's important to choose the right code so search engines understand your signal correctly.
How do you handle 404 errors in practice?
Good handling starts with regular monitoring. In Google Search Console, you'll find errors such as “Submitted URL not found (404)”. Tools such as Ahrefs, SEMrush or Moz can crawl the site and show broken links. You quickly see where the problem lies: in internal links, in incorrect sitemap URLs or in external links to pages that no longer exist.
Once you know the errors, you fix them according to the cause. If a page has been moved, you set up a 301 redirect to the new location. If it has been permanently deleted with no replacement, you let it return a 404 or 410. This is where SEO and strategy meet. You need to decide whether the page still has value worth carrying over or whether you can shut it down completely.
Review your internal links on an ongoing basis too. An editorial workflow for content updates keeps old articles free of links to pages that no longer exist. If you work on larger content projects or automated processes in your CMS, good technical collaboration between web development and digital marketing helps. That way, you prevent the errors from the moment of publication.
Start with these checks:
- Check Search Console for new 404 errors at least once a month
- Update internal links when you move or delete pages
- Set up redirects at server or CMS level and never via scripts
- Keep sitemap.xml up to date, and resubmit it after changes
- Design the 404 page with clear navigation so the user can move on
What should you watch out for?
A single 404 error seems harmless. Combined, the effect can be significant, especially on large websites. That's why it's too late to react only once you discover them. Prevent them instead. Make sure your CMS sends correct status codes. Also check that your redirects don't create loops or send traffic to irrelevant pages.
When you work with SEO and content, you also need to weigh up when to remove a page entirely and when to keep it with updated content. A consistent structure with clear categories and stable URLs reduces the risk of broken links. Your users get a better experience, and your website becomes technically healthier.