If a particular page on a site doesn't load for some reason or if a link is not functioning, 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 the website. A solution in such a case is a function offered by some website hosting service providers - the option to set up your own custom-made error pages which will have identical design and style as your website and that may contain any text or images that you would like dependent upon the particular error. There are 4 common errors that may occur and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it cannot be processed; 401, if you're supposed to log in to see a page, but you have not done this yet; 403, if you do not have an authorization to view a certain page; and 404, when a link that you have clicked leads to a file that doesn't exist. In all of these scenarios, visitors shall be able to see your personalized content as opposed to a generic error page.
Custom Error Pages in Shared Web Hosting
The custom error pages function is available with each and every shared web hosting plan that we offer and you shall be able to swap all of the generic pages with your own with no more than several clicks inside your Hepsia website hosting Control Panel. You shall need to develop 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 can easily do this for each and every site hosted inside the account separately, so that each group of custom made pages will have the exact same layout as the Internet site it's part of. If needed, you may always go back to a default page from our system or to the default Apache server page. Another way to set personalized 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 program code from our Help article on the subject.