Publishing at scale changes what a 404 means.
On a small site, a broken URL is usually easy to spot: an editor deletes a page, a redirect is missed, and someone notices the error in Search Console or browser logs. On a site that publishes thousands of pages, 404s become a stream of signals mixed with expected churn. Some are harmless. Some point to broken internal links, expired campaigns, bad template output, or migration issues. The hard part is not detecting 404s at all. The hard part is deciding which ones deserve attention before they accumulate into a maintenance problem.
A good monitoring system starts with one distinction: not every 404 is a defect. If a page was intentionally removed and the URL should retire, the 404 may be correct. If a published page is returning 404 because a database record disappeared, a CMS reference broke, or an internal link points to a URL that never existed, that is an operational issue. Your monitoring should separate those cases instead of treating every 404 as equally urgent.
The most reliable setup uses three inputs together:
- Server logs to see what users and crawlers actually requested.
- Crawl data to find broken internal links and broken discovery paths.
- Search Console data to spot indexed or indexable URLs that are now missing.
Server logs tell you volume and source. If Googlebot is repeatedly requesting a URL that now returns 404, that usually means search engines still have a path to the URL somewhere, or the URL has historical value. If the requests are mostly from your own site’s internal links, that is a site maintenance problem. If traffic comes from external referrals or old backlinks, you may need a redirect rather than a hard 404. For a deeper view of crawl behavior, server logs are usually more informative than isolated URL checks.
Crawl tools answer a different question: where are broken links being generated? A single deleted page is not the issue; the issue is a template, feed, or content workflow that keeps emitting dead URLs. When a large site starts producing 404s in clusters, the cause is often structural. A navigation template references outdated IDs. A programmatic page family still links to retired entities. A pagination or filter state exposes links after the destination set has changed. That is why 404 monitoring should be attached to source systems, not just to individual URLs.
This is where threshold design matters. If your alerting system sends a message for every new 404, it will get ignored. A better model is to group errors by pattern and source. For example:
- same path pattern, many URLs
- same referrer, many URLs
- same template, many URLs
- same status change after a deploy
That turns noise into something you can route. A handful of typos from old emails does not need engineering escalation. A sudden spike in /product/ URLs after a deployment probably does.
The most useful 404 dashboard does not start with counts; it starts with categories:
- new 404s from internal links
- new 404s from external links/backlinks
- previously indexed URLs now returning 404
- 404s concentrated in one template or section
- 404s that appeared after a release or migration
Once you can see those groups, the response becomes much clearer. Internal-link 404s should usually be fixed at the source. External-link 404s may need redirects if the URL still has value or traffic. Indexed URLs that return 404 need a deliberate decision about whether they should have been redirected, retired, or reinstated. Template-level 404s point to a publishing bug, not a content issue.
For larger sites, it helps to connect 404 monitoring to your publishing lifecycle. If a page is published, updated, merged, or deleted, that event should be visible in your content database. Then a 404 appearing on that URL is not just a technical event; it is a mismatch between the content state and the live response. If you already track page state transitions, you can compare published URLs against crawled URLs and catch broken paths before they become visible in search. The broader model is similar to what teams use when they track SEO pages from published to crawled to indexed: 404s are one of the failure points in that lifecycle.
One practical rule: monitor 404s by URL age. A brand-new 404 usually means something broke during publishing, deployment, or routing. An old 404 may be normal churn or an expected retiree. If you do not separate recent from historical errors, you will spend too much time on dead links that no longer matter.
Another useful rule is to distinguish between page-level and pattern-level remediation. Fixing one bad URL is easy. Fixing the source of 500 bad URLs is what keeps the operation sane. If a programmatic template is generating dead outbound links, the right fix is in the data model or template logic, not in a spreadsheet of one-off redirects. The same principle applies when you are deciding whether a page should be preserved, merged, or removed; page-level cleanup decisions should feed into redirect and retirement logic rather than sit beside it as a separate manual process.
If you need a simple operating model, make the alerting stack answer four questions:
- What changed?
- Where did it happen?
- Is it isolated or patterned?
- Who owns the fix?
That is usually enough to keep 404 monitoring useful without turning it into a second logging platform. The goal is not to eliminate every 404. The goal is to know which 404s represent expected URL retirement, which ones indicate broken publishing logic, and which ones deserve a redirect, a template fix, or a content decision before search engines and users keep running into them.