If a particular page on a site doesn't load for some reason or if a link is broken, the visitor will see an error page with a generic message. The page will have nothing in common with the rest of the site, which can make the visitor leave your site. A potential solution in this case is a function made available from some website hosting providers - the ability to set your own custom error pages which will have identical layout as your Internet site and which may contain any text or images which you want dependent upon the particular error. There are four common errors which may occur and they involve the following so-called HTTP status codes - 400, when your web browser sends a bad request to the hosting server and it can't be processed; 401, if you are supposed to log in to see some web page, but you have not done this yet; 403, if you do not have an authorization to view a particular page; and 404, if a link which you have clicked leads to a file which doesn't exist. In each of these cases, site visitors shall be able to see your custom content rather than a generic error page.
Custom Error Pages in Website Hosting
The customized error pages function is provided with every website hosting plan we offer and you'll be able to substitute all generic pages with your own with no more than several clicks in your Hepsia website hosting CP. You'll have to produce the actual files and to upload them to your account, then to set them for a given domain or subdomain using the Hosted Domains section of the Hepsia Control Panel. You can easily do this for each site hosted inside the account individually, so that every group of custom made pages shall have the same style and design as the website it is part of. If necessary, you could always revert back to a default page from our system or to the default Apache server page. One other way to set custom made error pages is to create an .htaccess file inside the domain/subdomain root folder and to include a few lines in it. If you haven't done this before, you may simply copy the needed code from our Help article on this subject.
Custom Error Pages in Semi-dedicated Servers
All of the semi-dedicated servers that we supply support custom error pages and it will not take more than a few clicks from your Hepsia website hosting Control Panel to use this feature. The option is available in the Hosted Domains section of your Control Panel in which you'll have to type in the links to the custom-made files via simple drop-down menus and a user-friendly interface. Needless to say, you must upload them to your account before that. If you don't want to employ this function at some point, you will be able to disable it just as easily and select an Apache server page or a default page from our system to be shown whenever your visitors encounter an error. If you prefer, you can also use an .htaccess file to activate the custom error pages. The file has to have a particular line of code as well as a link for each and every error type and you can easily discover an example of the whole content for all four error types in our Help section.