Custom Error Pages
Discover more about web site error pages, when they display and why you need to use customized error pages.
If a particular page on a site doesn't load for some reason or if a link is not functioning, the visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the website, that can make the visitor leave your Internet site. A potential solution in cases like this is a function made available from some website hosting service providers - the option to set your own custom-made error pages which will have the exact same style and design as your Internet site and that may contain any text or images which you want depending on the specific error. There are 4 popular errors which could take place and they involve these 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, in case you are supposed to log in to see a page, but you haven't done this yet; 403, if you do not have a permission to see a specific page; and 404, if a link that you have clicked leads to a file that does not exist. In each of these situations, visitors will be able to see your custom content as opposed to a generic error page.
-
Custom Error Pages in Hosting
The personalized error pages function is offered with each and every
hosting package that we offer and you'll be able to substitute all the generic pages with your own with no more than a couple of clicks in your Hepsia website hosting CP. You'll have to produce the actual files and to upload them to your account, and then to set them for a particular domain or subdomain using the Hosted Domains section of the Hepsia CP. You can easily do this for every single Internet site hosted in the account separately, so that every group of custom made pages will have identical style and design as the Internet site it's part of. When 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 error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you never done this before, you can simply copy the required program code from our Help article on this subject.
-
Custom Error Pages in Semi-dedicated Servers
All
semi-dedicated servers which we offer support custom made error pages and it shall not take more than a few mouse clicks in your Hepsia hosting Control Panel to use this function. The option is included in the Hosted Domains section of your Control Panel in which you'll have to enter the links to the custom-made files through basic drop-down menus and a time and effort saving interface. Of course, you must upload them to your account before that. In case you don't need to use this feature at some point, you will be able to disable it just as quickly and pick an Apache server page or a default page from our system to be viewable if your visitors encounter an error. If you'd prefer, you may also use an .htaccess file to allow the personalized error pages. The file needs to contain a particular line of code plus a link for every error type and you can find an example of the whole content for all four error types in our Help section.