- Home
- Tools
- Developer Tools
- HTTP Status Codes
- 404 Not Found
404 Not Found
The server has nothing at this address, or doesn't want to say that it has. The best-known status code of all.
- Class
- 4xx Client error. The request is the problem: a wrong address, missing credentials, data the server can't accept.
- Defined in
- RFC 9110
What causes it
For any address that leads nowhere: a typing mistake, a link to a page that was moved or deleted, a file that was never uploaded. Some servers also send it in place of a 403, so that outsiders can't find out what exists.
What to do about it
As a visitor: check the address for typing mistakes, go up a level, or use the search of the site. A page that used to exist may still be in the Internet Archive.
As the owner: a 404 for an address that never existed is fine and does no harm. For pages that moved, add a 301 to the new address. For pages removed on purpose, a 410 says so more clearly. And make sure that the error page really is sent with status 404.
Not to be confused with
| 410 Gone | The page existed and was removed for good. |
|---|---|
| 403 Forbidden | The page exists, and you may not have it. |
| 400 Bad Request | The request is wrong, not the address. |
How Google treats it
Google drops a page that returns 404 from its index and comes back for it less and less often. A page that says "not found" while returning 200 is reported as a soft 404.
All codes are on the list of HTTP status codes, which can be searched by number and by word.
Other 4xx codes
- 400 Bad Request
- 401 Unauthorized
- 402 Payment Required
- 403 Forbidden
- 405 Method Not Allowed
- 406 Not Acceptable
- 407 Proxy Authentication Required
- 408 Request Timeout
- 409 Conflict
- 410 Gone
- 411 Length Required
- 412 Precondition Failed
- 413 Content Too Large
- 414 URI Too Long
- 415 Unsupported Media Type
- 416 Range Not Satisfiable
- 417 Expectation Failed
- 418 I'm a teapot
- 421 Misdirected Request
- 422 Unprocessable Content
- 423 Locked
- 424 Failed Dependency
- 425 Too Early
- 426 Upgrade Required
- 428 Precondition Required
- 429 Too Many Requests
- 431 Request Header Fields Too Large
- 451 Unavailable For Legal Reasons