Mistyped or truncated URL
- Typical owner
- Visitor or the site that linked
- Where to look
- The address bar, the referring link
- Fix
- Correct the address; ask the linking site or fix your own link
A 404 means the server found nothing at that URL. See who causes it, how visitors get past it, and how site owners trace and fix it on nginx, Apache and CDNs.
A 404 Not Found response means the server could not find a current page at that URL, or will not say whether one exists. The cause is almost always the URL (a typo, or a page that moved or was deleted) or the server's path mapping. Check the address first. If you run the site, fix the link, restore the page or redirect it.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
RFC 9110 defines it this way: the origin server did not find a current representation for the target resource, or is not willing to disclose that one exists. In plain terms, the request reached a working server, but nothing is served at that address. MDN's list of common causes is short: "mistyped URLs or pages that are moved or deleted without redirection."
A 404 does not say whether the page is gone for good. If the server knows the removal is permanent, RFC 9110 says 410 Gone is preferred. A 404 is also heuristically cacheable, so a proxy or browser may keep showing it for a while after you fix the page unless cache headers say otherwise.
Because something answered the request, the network path works. That separates a 404 from a 502 or a 503, where the server or a proxy in front of it failed. It also differs from a 400, where the server rejected the request itself as malformed.
.htaccess loadingCloudflare's documentation is explicit that it does not generate 404s for customer websites: it only proxies the response from the origin server, so a 404 on a Cloudflare-powered site points at the origin. A CDN can also cache an origin's 404 (RFC 9110 calls a 404 heuristically cacheable), so test the origin directly before changing edge settings.
Look for typos, a missing or extra character, or a trailing piece pasted from a chat or email. Retry the corrected address.
Remove path segments from the end one at a time. If /blog/2024/old-post fails, try /blog/ and look for the page from there.
If the page moved, the site's navigation or search is usually the quickest route to its new address.
A cached 404 can linger. A hard reload rules out your browser, and a second device or network rules out a local DNS or proxy problem.
If a link on their own site led you to the 404, they usually want to know. Link errors cost them visitors silently.
There is no way to force a page into existence from the browser. If the page was removed, a 404 is the correct answer.
location / {
try_files $uri $uri/index.html $uri.html =404;
}
error_page 404 /404.html;ErrorDocument 404 /errors/not-found.htmlBoth snippets come from each vendor's directive reference. The stack-specific causes are on the nginx 404 page and the Apache 404 page.
Causes and fixes differ by server and platform. See the 404 guides for Apache, IIS, nginx, WordPress.
Run curl -sI https://example.com/missing-page and read the status line and headers. Do it against the public hostname and, if you can, against the origin to see which layer answers.
Find the request and note the path the server tried. Both nginx and Apache write errors to the file set by error_log and ErrorLog.
On a file-based site, the server appends the URL path to a configured root directory. If the file is not at that location, you get a 404.
If the page moved, add a redirect. If your framework or CMS builds the page, confirm the route or permalink rule still exists.
Keep the real 404 status code and give visitors a way forward. Never answer with a 200 for a missing page.
Google doesn't index URLs that return a 4xx status code, and ignores any content it receives from them. URLs that are already indexed and start returning a 404 are removed from the index, and newly encountered 404 pages aren't processed. A few 404s on pages that really are gone are normal. A burst on pages that should exist is a problem to fix.
Cloudflare's docs note that 404s often go untracked by traditional analytics tools, so check server logs and Search Console. See 4xx errors for how to audit them, and soft 404 errors for pages that show a "not found" message but return 200. Google documents the full behavior in how HTTP status codes affect its crawlers.
Related errors: .htaccess, CloudFront, AWS Amplify, Firebase Hosting, Cloudflare Pages, static sites served from a repository.
4 questions people ask next, answered from the sources on this page.
The server could not find anything at the requested URL. Usual causes are a mistyped URL, or a page that was moved or deleted without a redirect. Server path or rewrite misconfiguration also produces 404s on pages that should exist.
Often not. A 404 is a client error class, but the usual causes are a broken link, a deleted page or a server mapping problem. Check the address you typed first. If the address is right and the page should exist, the site owner has to fix it.
As a visitor, correct the URL, trim the path, or use the site's search. As an owner, find the request in the logs, compare the URL to the file path or route, then restore the page or add a redirect to its replacement.
A 404 does not say. RFC 9110 prefers 410 Gone when the server knows the removal is permanent. A 404 can also be heuristically cached, so a fixed page may keep showing 404 until the cache expires.
Run the free audit, then approve the fixes. Every change can be undone.