If a certain 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 shall have nothing in common with the rest of the site, which could make the visitor leave your Internet site. A potential solution in such a case is a feature offered by some website hosting providers - the ability to set up your own customized error pages that will have exactly the same layout as your Internet site and that can contain any text or images that you would like dependent upon the particular error. There are 4 standard errors which could occur and they involve these particular so-called HTTP status codes - 400, when your Internet browser sends a bad request to the hosting server and it cannot be processed; 401, if you are supposed to log in to see a webpage, but you have not done this yet; 403, if you do not have a permission to see a certain page; and 404, when a link which you've clicked leads to a file which doesn't exist. In all of these situations, website visitors will be able to see your customized content rather than a generic error page.
Custom Error Pages in Website Hosting
The custom made error pages feature is available with every single website hosting package we offer and you'll be able to substitute all of the generic pages with your own with no more than several mouse clicks in your Hepsia hosting Control Panel. You'll have to create the actual files and to upload them to your account, and then to set them for a particular domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You may do this for each and every site hosted in the account separately, so that each set of customized pages shall have the same design and style as the site it's part of. If necessary, you can always return back to a default page from our system or to a default Apache server page. Another 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 have never done this before, you could simply copy the needed program code from our Help article on the subject.
Custom Error Pages in Semi-dedicated Servers
Including your own pages for each of the 4 error types to any website hosted inside a semi-dedicated server account with us will be really simple and will not take more than a couple of clicks. As soon as you upload the files inside your account, you could check out the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there through an intuitive interface with drop-down menus. You can pick what page should display for each and every error type. The alternatives are a standard Apache web server page or a page from our system, and tailor-made pages. In case you pick the last option, you must enter the link to every page in your account, then save the change. The link or the kind of page that will be displayed in case a user encounters an error can be modified whenever you want. If you're more experienced, you can use an .htaccess file to be able to set custom made error pages too, instead of using our integrated generator software tool, and in case you pick this option, the file must be placed in the root directory of a particular domain or subdomain.