Custom Error Pages
Learn what a Custom Error Page is, what role does it serve and the way to set one.
If a particular page on a site doesn't load for some reason or in case a link is broken, the visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the Internet site, that can make the visitor leave your Internet site. A potential solution in cases like this is a feature made available from some website hosting service providers - the option to set your own custom-made error pages that shall have the exact same design as your Internet site and which may contain any text or images that you'd like dependent upon the particular error. There are 4 standard errors that could occur and they involve these so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the server and it can't be processed; 401, if you are supposed to log in to see some webpage, but you have not done this yet; 403, if you do not have an authorization to see a specific page; and 404, when a link which you've clicked leads to a file that doesn't exist. In each of these situations, website visitors shall be able to see your custom content as opposed to a generic error page.
-
Custom Error Pages in Shared Hosting
The customized error pages function is available with every single
shared hosting plan that we offer and you shall be able to substitute all of the generic pages with your own with no more than several clicks inside your Hepsia website hosting CP. You'll need 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 could do this for every single Internet site hosted in the account separately, so that each group of custom made pages shall have the same design and style as the site it's part of. If required, you can always go back to a default page from our system or to a 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 add a few lines in it. If you haven't done this before, you can simply copy the needed code from our Help article about this.
-
Custom Error Pages in Semi-dedicated Hosting
When you host your Internet sites in a
semi-dedicated server account with us, you'll be able to set custom error pages for any of them easily using our custom Hepsia hosting CP. With just a few clicks inside the Hosted Domains section, you'll be able to modify the default setting from a system page to a custom made one for any of the 4 error types. All you need to do is supply a link to each file you have uploaded before that and then save the change. If required, you will be able to revert this change at any time and in exactly the same way. If you want, you can use an .htaccess file too. It has to be created/uploaded inside the domain or subdomain folder belonging to the website whose error pages you would like to modify and the content for such a file can be found in our Help article on this matter.