If a particular page on a site does not load for some reason or if a link is broken, the site visitor shall see an error page with some generic message. The page shall have nothing in common with the rest of the website, that may make the visitor leave your website. A potential solution in this case is a feature made available from some website hosting providers - the option to set your own personalized error pages which shall have the exact same design and style as your site and which may contain any images or text which you want based on the particular error. There are four well-known errors which can 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, in case you are supposed to log in to see some web page, but you have not done this yet; 403, if you don't have an authorization to see a certain page; and 404, if a link that you have clicked leads to a file that does not exist. In each of these scenarios, visitors shall be able to see your personalized content instead of a generic error page.
Custom Error Pages in Hosting
The custom error pages function is offered with each and every hosting package deal we offer and you will be able to replace all of the generic pages with your own with no more than a couple of clicks inside your Hepsia website hosting Control Panel. You shall have to create the actual files and to upload them to your account, then to set them for a specific domain or subdomain from the Hosted Domains section of the Hepsia Control Panel. You could do this for every single web site hosted inside the account individually, so that each group of customized pages will have the exact same design as the Internet site it's part of. If needed, you may always go back to a default page from our system or to a default Apache server page. A different 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 can simply copy the necessary code from our Help article on this subject.
Custom Error Pages in Semi-dedicated Servers
Incorporating your own pages for any of the 4 error types to any website hosted from a semi-dedicated server account with us will be really uncomplicated and will not take more than several mouse clicks. When you upload the files in your account, you could go to the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there through an intuitive interface with drop-down navigation. You can pick what page should show up for each error type. Your options are a default Apache web server page or a page from our system, and personalized pages. In case you pick the abovementioned option, you have to enter the link to each and every page in your account, then save the change. The link or the kind of page which shows up when a user encounters an error can be changed anytime. If you're more experienced, you could use an .htaccess file to set customized error pages as well, instead of using our integrated generator tool, and if you pick this option, the file should be placed inside the root directory of a specific domain or subdomain.