If a particular page on an Internet site doesn't load for some reason or in case a link is not working, the site visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the website, that could make the visitor leave your website. A potential solution in such a case is a function made available from some hosting companies - the ability to set your own customized error pages which will have exactly the same style and design as your website and that can contain any text or images you want depending on the specific error. There are 4 popular errors that could occur and they involve these particular so-called HTTP status codes - 400, when your web browser sends a bad request to the server and it can't be processed; 401, in case you are supposed to log in to see a web page, but you have not done this yet; 403, if you do not have an authorization to view a certain page; and 404, in case a link which you have clicked leads to a file that does not exist. In each of these scenarios, site visitors will be able to see your custom content rather than a generic error page.
Custom Error Pages in Hosting
If you get a hosting service
from us, you shall be able to set custom error pages for your websites quickly and easily, because this feature is part of all our plans. As soon as you have created the files and uploaded them to your website hosting account, you can go to the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. Inside the pop-up that will show up, you'll see drop-down options menus for all 4 sorts of errors and for each one of them you can select an Apache default page, a generic page from our system or a custom page. Should you select the third option, you should just input the URL to the file that you have uploaded then save the change. Another way to set personalized error pages is to set up an .htaccess file inside the domain or subdomain folder and to add a few lines of program code in it. If you don't have prior experience or if you are just uncertain how to do this, you may simply copy and paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Hosting
Incorporating your personal pages for any of the 4 error types to any web site hosted in a semi-dedicated server
account with us shall be very uncomplicated and will not take more than a couple of clicks. When you upload the files to your account, you could go to the Hosted Domains section of your Hepsia Control Panel and edit any of the domains and subdomains listed there via an intuitive interface with drop-down navigation. You could pick what page should display for each and every error type. The choices are a standard Apache server page or a page from our system, and tailor-made pages. If you select the last option, you will need to type in the link to each and every page in your account, then save the change. The link or the sort of page that will be displayed in case a user encounters an error can be changed anytime. If you're more experienced, you can use an .htaccess file so as to set tailor-made error pages as well, instead of using our integrated generator instrument, and in case you choose this option, the file must be positioned in the root directory of a specific domain or subdomain.