Custom Error Pages
Get familiar with website error pages. Learn when they appear and why you need to make your own custom error pages.
Whenever a page on your website doesn't load, an error message shall be displayed to the site visitor. As there are different errors, there are different pages that'll display, but what's typical for all of them is that they're generic and almost certainly shall have practically nothing that resembles the design of your website, which can be irritating for any website visitor. That is the main reason why hosting service providers have introduced a feature called Custom Error Pages. For a wide variety of different errors, visitors shall see your custom content, which can be informative or funny, in accordance with your taste, and which shall match the overall design of your Internet site, so the pages won't appear as if they aren't part of your website at all. You may use this option for a variety of errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
-
Custom Error Pages in Hosting
When you buy a
Linux hosting from our company, you shall be able to set personalized error pages for your Internet sites quickly and easily, since this function is a part of all of our solutions. As soon as you have created the files and uploaded them to your hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. Inside the pop-up which will be displayed, you'll see drop-down menus for all 4 sorts of errors and for each one of them you can pick an Apache default page, a generic page from our system or a tailor-made page. In case you pick the 3rd option, you should simply type the URL to the file which you have uploaded and save the change. Another way to set personalized error pages is to create an .htaccess file in the domain or subdomain folder and to include several lines of code in it. If you don't have preceding experience or if you are just unsure how to do this, you can simply copy/paste the code from our Knowledge Base article on that matter.
-
Custom Error Pages in Semi-dedicated Hosting
Incorporating your pages for any of the 4 error types to any web site hosted in a
semi-dedicated server account with us shall be very easy and won't take more than a few mouse clicks. Once you upload the files to your account, you could navigate to the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there using an intuitive interface with drop-down menus. You could pick what page should appear for every error type. Your options are a default Apache server page or a page from our system, and tailor-made pages. In case you pick the last option, you will need to input the link to every single page in your account, then save the change. The link or the kind of page which will be shown in case a user encounters an error can be modified anytime. In case you’re more experienced, you may use an .htaccess file to set custom made error pages too, as an alternative to using our integrated generator software instrument, and should you pick this option, the file needs to be positioned in the root directory of a given domain or subdomain.