Custom 404 page and SEO: 10 things a Good 404 Error Page Should Contain
10 things a Good 404 Error Page Should Contain:
- Link to the sitemap – remember that sitemap is the only page within your website with direct links to all pages of your website. It’s a great place to search for specific web pages on your website. A sitemap gives a user orientation in your website, how its constructed and how can they find the correct web page.
- A search box – if you use any kind of search within your website you should include search box in your custom 404 error page to make it easier to the user to find what they are looking for.
- Custom 404 page should be written in plain, easy to understand language (doesn’t matter if its English or any other language, it has to be understandable).
- It should have a short message explaining why a user is seeing this web page, what went wrong and what are possible reasons for that. You should also apology for any inconveniences that caused. Dont blame the user for visiting your error page.
- It should link to the most important pages of your website like category pages, FAQ section, main product areas, login screen, home page etc. depending on your business area, website size and your goals.
- It should have an e-mail or contact form to message the webmaster about the broken link and advice for help.
- No ads – they just stand in the way to deliver the right message to the user.
- Do not use any kind of redirection, let user read the whole page and do what they want, don’t force them do go anywhere.
- Custom 404 page should NOT look exactly the same as any other page of your website. It has to be minimalistic. You should not put your all site navigation into the 404 error page as it will only distract people from reading the message. Focus on delivering the message: “Why are you seeing this website, what can you do now and where to go next. Don’t worry my user, i will guide you through to the page you were looking for. Thank you for your patience.”
- Custom 404 error page should be more than 512 bytes of size as Internet Explorer version 5 and below do not display custom error pages if they are less than 512 bytes of size. This does not include images. If your page is less than that, you may add some text in comments in your page code. This will increase page size and will be displayed correctly by all web browsers.
What is 404 (File Not Found) page anyway
404 page is a page displayed by web browser by default when a user tries to access a site that does not exist on a server. For example if you mistype an URL, the site will not be found and your web browser will display the 404 (File not found) page.
404 is a HTTP status code [status code definitions, document RFC 2616 of W3C] indicating that the client was able to communicate with the server but either the server could not find what was requested, or it was configured not to fulfill the request and did not reveal the reason why – from Wikipedia.
It generally means that there is no file on a server that fits your request and no page can be displayed.
Why 404 error occurs?
There are several reasons why you encountered an 404 (File not found) error:
- mis-typed URL
- a link that is out-of-date (from search engine listing or other websites)
- internal broken link
Creating custom 404 page