Custom Error Pages
Get familiar with website error pages. Discover when they appear and why you should create your individual custom error pages.
If a certain page on an Internet site does not load for some reason or if a link is broken, the website visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the website, which may make the visitor leave your site. A solution in this case is a feature made available from some website hosting service providers - the ability to set your own personalized error pages which shall have identical layout as your website and which may contain any text or images that you would like dependent upon the particular error. There are 4 common errors that may take place and they involve these particular so-called HTTP status codes - 400, when your browser sends a bad request to the server and it can't be processed; 401, if you're supposed to log in to see a webpage, but you haven't done so yet; 403, if you do not have an authorization to see a particular page; and 404, in case a link which you've clicked leads to a file that does not exist. In each of these situations, visitors shall be able to see your customized content as opposed to a generic error page.
-
Custom Error Pages in Website Hosting
The custom made error pages feature is offered with every
website hosting package we offer and you'll be able to substitute the generic pages with your own with no more than several mouse clicks from your Hepsia hosting CP. You'll have to produce the actual files and to upload them to your account, then to set them for a specific domain or subdomain through the Hosted Domains section of the Hepsia CP. You can easily do this for each web site hosted inside the account individually, so that each set of custom made pages shall have identical layout as the site it's part of. If needed, you may always revert back to a default page from our system or to a default Apache server page. An alternate way to set customized 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 may simply copy the necessary 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 can set personalized error pages for any of them with ease through our in-house created Hepsia hosting Control Panel. With a few mouse clicks in the Hosted Domains section, you'll be able to edit the default setting from a system page to a custom made one for each of the 4 error types. All you have to do is provide a link to every single file that you have uploaded before that and then save the change. If necessary, you will be able to revert this change anytime and in exactly the same way. If you prefer, you may use an .htaccess file as well. It should be created/uploaded within the domain or subdomain folder associated with the website whose error pages you intend to alter and the content for this kind of file can be found in our Help article on this matter.