Custom Error Pages
Find out about web site error pages, precisely when they appear and why you ought to make use of customized error pages.
If a certain page on a site doesn't load for some reason or if a link is not functioning, the site visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the website, that may make the visitor leave the website. A possible solution in cases like this is a feature made available from some web hosting providers - the ability to set your own custom error pages which shall have identical design as your website and which could contain any images or text that you'd like dependent upon the particular error. There are 4 common errors that can take place and they involve these particular so-called HTTP status codes - 400, when your web browser sends a bad request to the server and it cannot be processed; 401, if you're supposed to log in to see some web page, but you haven't done so yet; 403, if you do not have a permission to see a particular page; and 404, when a link that you have clicked leads to a file which doesn't exist. In each of these cases, visitors shall be able to see your personalized content instead of a generic error page.
-
Custom Error Pages in Cloud Web Hosting
The personalized error pages function is available with each
cloud web hosting plan we offer and you'll be able to swap all generic pages with your own with no more than several clicks in your Hepsia website hosting CP. You'll have to develop the actual files and to upload them to your account, and then to set them for a specific domain or subdomain from the Hosted Domains section of the Hepsia CP. You may do this for every single site hosted in the account independently, so that every group of custom made pages shall have the same style and design as the website 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. An alternate way to set personalized error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you haven't done this before, you can simply copy the necessary program code from our Help article about the subject.
-
Custom Error Pages in Semi-dedicated Hosting
If you host your sites in a
semi-dedicated server account with our company, you could set customized error pages for each of them with ease via our in-house made Hepsia hosting Control Panel. With a couple of clicks in the Hosted Domains section, you could modify the default setting from a system page to a custom one for each of the four error types. All you need to do is provide a link to each file you have uploaded before that and then save the change. If necessary, you shall be able to revert this change anytime and in exactly the same way. If you'd like, you could use an .htaccess file as well. It has to be created/uploaded within the domain or subdomain folder linked to the site whose error pages you would want to change and the content for this kind of file can be found in our Help article on this matter.