A 404 Page Error or Not Found error is displayed when you go to a page that doesn't exist within an active website.
One of the most common errors you can come across while browsing the Internet is a 404 or Page Not Found error. This error often occurs when you follow a broken link or if you type in a website address that doesn’t exist.
A 404 page error appears when a website is active, but the specific page within it doesn’t exist. A different error appears if the whole website you’re visiting is unavailable.
Having broken links on your website provides a poor experience and search engines see it as an indicator of low quality. Therefore, cleaning up broken links across your website can improve how high your website ranks in search engine results.
The best way to clean up broken links on your website is by removing them or replacing them with different, relevant links.
Even if your website has no broken links, it’s a good practice to have a 404 page in place when people mistype a website address. A 404 page is a page that explains that a 404 error has occurred. Most website templates have a default 404 page included.
Why create 404 page?
You can rely on your server to return a standard 404 page, but it might not be attractive, and won't be branded with your website. A custom 404 page can be branded with your site and provide helpful informationIf you have access to your server, we recommend that you create a custom 404 page. A good custom 404 page will help people find the information they're looking for, as well as providing other helpful content and encouraging them to explore your site further.
(Note: This article covers guidelines for creating the content of your custom 404 page. For information on configuring your server to display your new 404 page, check your server or web hoster documentation. You should still make sure that your webserver returns a 404 status code to users and spiders, so that search engines don't accidentally index your custom 404 page.)
Because a 404 page can also be a standard HTML page, you can customize it any way you want. Here are some suggestions for creating an effective 404 page that can help keep visitors on your site and help them find the information they're looking for:
Tell visitors clearly that the page they're looking for can't be found. Use language that is friendly and inviting.
Make sure your 404 page uses the same look and feel (including navigation) as the rest of your site.
Consider adding links to your most popular articles or posts, as well as a link to your site's home page.
Think about providing a way for users to report a broken link.
No matter how beautiful and useful your custom 404 page, you probably don't want it to appear in Google search results.
In order to prevent 404 pages from being indexed by Google and other search engines, make sure that your webserver returns an actual 404 HTTP status code when a missing page is requested.
Use the Change of Address tool to tell Google about your site's move.

