Where 404 errors come from
404 is the code a server uses to say “I don’t know that page”. The most common causes:
- a deleted product or article that links still point to,
- a changed URL after a redesign or a move to another system,
- a typo in a link in the menu, an email or on Facebook,
- old printed materials with an address that no longer exists.
Why it matters
Every website has a few 404 errors, and Google will not penalise you for them. The problem is when links that people actually use lead to a page that does not exist. A customer coming from an ad or a search result lands on an empty page and usually goes to a competitor. With paid advertising, you end up paying for clicks that lead nowhere. And if a page with good backlinks disappears, you lose their SEO value.
How to find 404 errors
- Google Search Console shows pages that Google could not find.
- In Google Analytics you can track views of the 404 page, including the address the person was trying to reach.
- Website crawling tools find broken internal links.
How to fix them
If the page has a replacement, set up a 301 redirect to the closest content: a sold-out product to a newer model or category, a removed article to a similar one. But do not redirect everything in bulk to the home page. Google treats that as an error anyway, and visitors are confused. If there is no replacement, let the page return a 404.
A good 404 page
Instead of a dry error message, offer search, links to the main categories and contact details. An online bookshop can show its bestsellers on the 404 page. Someone who got lost then has somewhere to go straight away.
I check for broken links regularly as part of website maintenance. Most 404 errors appear after addresses change, so I deal with them using redirects during a website migration.