The 404 page always gives the impression of having arrived in an uncharted part of the Internet. A kind of web black hole that can suck you in anywhere, and often nowhere. If the user is already in the site, he will probably go back, but what if he arrives on this page because of an invalid URL? He will probably go back too, never to come back again! With a little effort, you can minimize the perverse effects of a 404 page.
The first step is to create a 404 page in html and set your server to override the browser's default error page. This will at least display your logo and offer a navigation option. For the content of the page, it must then be considered that the user can arrive on this page in various ways.
We can potentially add to this page:
Avoid :