Web Hosting - cPanel How to - Handle Website Errors

Everybody from time to time, surfing the web, willprevented it from fulfilling the request (there are miss
encounter the famous 404 error page saying thatconfigured options on the web server).
the web page or the document you were looking forEach error code has its own standard page and error
was not found. The cause for the error could be amessage. In order to deliver a better user
reorganization of the website (the file was removed,experience, you might want to customize the error
renamed or deleted); a user involuntarily mistypingpages with your own messages and directions for
the URL of the page or maybe the web page neverthe visitor to follow. cPanel's [Error pages] option is
existed. No matter the cause, any webmaster willthe tool for the job. Here you can edit a custom
want to avoid having these types of broken links onmessage and use information such as Referring URL,
his website. Besides the 404, "File not found" errorRequested URL, Server Name and so on. The idea is
code, there are other standard HTML error codes.that you still need to let the visitor know that
Here are a few examples:something unexpected is going on, but provide him
* A 400 error code indicates that the link or thewith options.
request could not be understood by the server dueA good practice is to include the website's sitemap
to malformed syntax;here (so the visitor can choose a "real" page to go
* A 401 error code indicates that authorization isto) or, if you have a website search feature, include
required to access the file;it here as well.
* A 403 error code indicates that the visitor isTo see the last 300 errors for your website, go to
forbidden to access the file (maybe it's in a passwordthe [Error log]. Check this log frequently to find out if
protected folder or maybe you activated the Hotlinkyou have broken links on your site, or, what files do
Protection on your images);not exist and they should. Use this information to fix
* A 500 error code indicates that the web serverthe errors and to keep your site running smoothly.
encountered an unexpected condition which