Introduction
A 404 Not Found handler tells the user when they try to visit a page that does not exist on your website.
When a user types a wrong URL on your website.
When a link points to a page that has been removed.
When a user tries to access a page that you never created.
To improve user experience by showing a friendly message instead of a blank page.
To help search engines understand that the page is missing.