If a specific page on a site doesn't load for some reason or in case a link is not working, the website 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 possible solution in such a case is a feature made available from some hosting companies - the option to set up your own personalized error pages which shall have the same layout as your site and which may contain any text or images that you'd like based on the particular error. There are four well-known errors that may occur and they involve these so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the web server and it cannot be processed; 401, if you are supposed to log in to see some page, but you haven't done so yet; 403, if you don't have a permission to view a certain page; and 404, when a link which you have clicked leads to a file that doesn't exist. In all of these cases, site visitors will be able to see your personalized content instead of a generic error page.
Custom Error Pages in Shared Website Hosting
The personalized error pages function is available with every shared website hosting package deal we offer and you shall be able to substitute all the generic pages with your own with no more than just a few mouse clicks from your Hepsia website hosting CP. You'll need to develop the actual files and to upload them to your account, and then to set them for a given domain or subdomain from the Hosted Domains section of the Hepsia CP. You can do this for each Internet site hosted in the account individually, so that every group of customized pages shall have identical layout as the website it is part of. If needed, you could always revert back to a default page from our system or to the default Apache server page. Another way to set customized error pages is to create an .htaccess file inside the domain/subdomain root folder and to include a few lines in it. If you haven't done this before, you could simply copy the needed program code from our Help article on the subject.
Custom Error Pages in Semi-dedicated Hosting
Adding your pages for any of the four error types to any site hosted inside a semi-dedicated server account with us shall be very basic and will not take more than a couple of clicks. After you upload the files in your account, you can go to the Hosted Domains section of your Hepsia Control Panel and edit each of the domains and subdomains listed there through an intuitive interface with drop-down navigation. You could choose what page should appear for each and every error type. The options are a default Apache server page or a page from our system, and custom made pages. Should you pick the abovementioned option, you must type the link to every single page in your account, then save the change. The link or the kind of page that will be shown when a user encounters an error can be modified at any time. In case you’re more experienced, you could use an .htaccess file in order to set tailor-made error pages too, rather than using our integrated generator instrument, and in case you pick this option, the file needs to be located in the root directory of a given domain or subdomain.