HTTP 404 — Not Found
HTTP 404
Not Found
The server is reachable and working, but there is nothing at the address you asked for.
What 404 actually means
The single most familiar error on the web. The important thing it tells you is that the server is fine — DNS resolved, the connection succeeded, the site answered — and it simply has no resource at that path. It does not distinguish between "this never existed", "this was deleted" and "we would rather not say", which is deliberate: 404 is also the polite way to hide something you do not want to admit exists.
Common causes
- The URL is mistyped, or was copied with a truncated or extra character
- A page was deleted or renamed without a redirect being added
- A link on another site points at a URL that no longer exists
- A missing asset — an image, script or stylesheet referenced by a path that is wrong
- A routing rule that never matches, common after a framework upgrade or a move to a new host
- Case sensitivity: Linux servers treat `/About` and `/about` as different paths, Windows does not
If you're just trying to view the page
- Check the URL for typos, especially hyphens, slashes and the file extension
- Delete the end of the path back to the last slash and try again — a section page often still exists when a specific page does not
- Use the site's own search box or navigation to find where the page moved to
- Search the URL on a search engine; the new location is usually the first result
- Look up the address on the Internet Archive's Wayback Machine if the page is genuinely gone
If it's your site
- Add 301 redirects from removed URLs to the closest equivalent page — not to the home page, which search engines treat as a soft 404
- Check your rewrite rules and router configuration; a missing `try_files` line or a broken `.htaccess` turns a working site into a wall of 404s
- Serve a real 404 status code with your custom error page — an error page returned as 200 gets indexed and hides the problem from monitoring
- Crawl your own site periodically for broken internal links; they are much more common than external ones
- Check for case mismatches after moving from a Windows or macOS development machine to a Linux server
- For single-page applications, make sure the server falls back to `index.html` for unmatched routes, or deep links 404 on refresh
Reference
- Status code
- 404
- Reason phrase
- Not Found
- Category
- 4xx — Client Error
- Cacheable by default
- Yes
- Defined in
- RFC 9110 §15.5.5
Common questions
- What does HTTP 404 mean?
- The server is reachable and working, but there is nothing at the address you asked for. The single most familiar error on the web. The important thing it tells you is that the server is fine — DNS resolved, the connection succeeded, the site answered — and it simply has no resource at that path.
- How do I fix a 404 error?
- Check the URL for typos, especially hyphens, slashes and the file extension
- Is 404 a client error or a server error?
- 404 is in the 4xx range, which means client error. The request itself was the problem, so retrying it unchanged will usually return the same code.
Related pages
- 403 Forbidden The server understood the request and is refusing to allow it, and logging in wi
- 401 Unauthorized You need to authenticate, and either you did not or your credentials were reject
- 429 Too Many Requests You have sent more requests than the service allows in a given period.
- 400 Bad Request The server could not understand the request because something about it is malfor
- 413 Content Too Large The request body is bigger than the server is willing to accept.
- 422 Unprocessable Content The request is well-formed and understood, but the data in it fails the rules.
- 405 Method Not Allowed The URL exists, but it does not accept the HTTP method you used.
- 409 Conflict The request cannot be completed because it clashes with the current state of the
- 415 Unsupported Media Type The server will not accept the format of the body you sent.
- 408 Request Timeout The server gave up waiting for the client to finish sending its request.
- 410 Gone The resource was deliberately removed and is not coming back, and there is no fo
- 451 Unavailable For Legal Reasons The content is blocked because of a legal demand — a court order, takedown notic