When a page on your Internet site doesn't load, an error message shall be shown to the website visitor. Since there are different errors, there are different pages that'll display, but what's common for all of them is that they are generic and in all probability shall have practically nothing in common with the design of your site, which could be irritating for any website visitor. This is the primary reason why website hosting providers have introduced a feature named Custom Error Pages. For a range of different errors, site visitors will see your unique content, which can be informative or funny, based on your choice, and that will match the layout of your Internet site, so the pages shall not look like they aren't part of your website at all. You can use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
Custom Error Pages in Web Hosting
If you order a web hosting from us, you will be able to set custom made error pages for your Internet sites easily and quickly, as this function is part of all our packages. Once you've created the files and uploaded them to your hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. Inside the pop-up that will appear, you shall see drop-down options menus for all four sorts of errors and for each of them you could pick an Apache default page, a generic page from our system or a customized page. In case you pick the 3rd option, you should just type the URL to the file which you have uploaded then save the change. One other way to set custom made error pages is to create an .htaccess file in the domain or subdomain folder and to include a couple of lines of code in it. In case you don't have previous experience or if you're just uncertain how to do this, you can just copy/paste the code from our Knowledge Base article on that subject.
Custom Error Pages in Semi-dedicated Hosting
All our semi-dedicated hosting support tailor-made error pages, so you'll be able to employ this feature for any domain or subdomain hosted in your account. All it will take to do that is to visit the Hosted Domains section of the Hepsia CP, to click the Edit button related to the particular domain/subdomain and to type in the link to the custom-made file. You are able to do this separately for every error type. You'll be able to switch back to a generic error page anytime if required and the change shall take effect at once. An alternative way to get the same exact result is to set an .htaccess file inside the domain or subdomain folder associated with the site which you would like to edit and to input a couple of lines of code within it. If you want to try this method, you could copy and paste the necessary code from our Knowledge Base article on custom error pages, which means that you will not need any programming skills or prior experience.