Not Found client error response code indicates that a server can not find the requested resource. This response code probably is most famous one due to its frequency to occur in the web. These are often called broken or dead links and lead to link rot.
A 404 status code does not indicate whether this lack is temporary or permanent. If the server knows that this condition is likely to be permanent, a
410 (Gone) should be used instead of a 404 status.
404 Not Found
Custom error pages
Many web sites customize the look of a 404 page to be more helpful to the user and to provide guidance. Apache servers can be configured using an
.htaccess file and a code snippet like this one, for example.
ErrorDocument 404 /notfound.html
You can take MDN's 404 page as inspiration.
|RFC 7231, section 6.5.4: 404 Not Found||Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content|
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
|Feature||Android||Chrome for Android||Edge mobile||Firefox for Android||IE mobile||Opera Android||iOS Safari|