Each time a page on your site does not load, an error message shall be shown to the visitor. As there are different errors, there are different pages that will appear, but what is typical for all of them is that they are generic and probably will have nothing that is similar to the layout of your website, which could be aggravating for any visitor. This is the primary reason why web hosting companies have introduced a function known as Custom Error Pages. For a wide variety of different errors, site visitors shall see your unique content, which could be informative or amusing, in accordance with your taste, and which shall match the overall style and design of your Internet site, so the pages won't appear as if they aren't part of your site at all. You may use this option for numerous errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Website Hosting
You will be able to set up custom made error pages for all of your domains or subdomains. The function is supported by all website hosting package that we provide, so when you log in to the Hepsia CP and check out the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you can select the sort of error page that should appear - a default one from our system, a standard Apache web server page or a personalized one. For the last mentioned alternative, you have to assign the URL to the page, so if you use personalized pages, you should upload the files inside your web hosting account first. An alternative way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for each and every error type. The precise syntax can be found in our Knowledge Base, to help you use this function even if you don't have any previous experience.
Custom Error Pages in Semi-dedicated Servers
All semi-dedicated hosting plans which we provide support tailor-made error pages and it shall not take more than a couple of clicks from your Hepsia hosting Control Panel to use this function. The option is available in the Hosted Domains section of your Control Panel in which you will need to type in the links to the custom-made files through simple drop-down menus and an easy to work with interface. Keep in mind, you have to upload them inside your account before that. If you don't need to use this feature at some point, you could deactivate it just as easily and choose an Apache server page or a default page from our system to be viewable if your visitors encounter an error. If you'd like to, you may also use an .htaccess file to permit the personalized error pages. The file has to include a particular line of code as well as a link for every single error type and you may discover an example of the whole content for all four error types in our Help section.