Custom Error Pages
Take a plunge into website error pages. Discover when they show up and why you need to create your individual custom error pages.
If a specific page on an Internet site doesn't load for some reason or if a link is broken, the website visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the website, which can make the visitor leave your Internet site. A likely solution in this case is a function offered by some web hosting companies - the ability to set up your own custom-made error pages that will have the exact same style and design as your site and that could contain any text or images you want dependent upon the specific error. There are four well-known errors that can take place and they involve the following so-called HTTP status codes - 400, when your web browser sends a bad request to the web server and it can't be processed; 401, if you're supposed to log in to see some page, but you haven't done so yet; 403, if you don't have a permission to see a specific page; and 404, in case a link that you have clicked leads to a file that does not exist. In any of these scenarios, site visitors shall be able to see your personalized content instead of a generic error page.
-
Custom Error Pages in Shared Hosting
You will be able to set up custom error pages for each of your domains or subdomains. The function is supported by all
shared hosting solutions that we offer, so once you log in to your Hepsia CP and visit the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll show up, you may select the type of error page which should appear - a default one from our system, a typical Apache server page or a customized one. For the last mentioned option, you need to assign the URL to the page, so if you use custom pages, you must upload the files in your website hosting account first. Another way is to use an .htaccess file positioned in the domain or subdomain folder with a line for each and every error type. The correct syntax can be located in our Knowledge Base, so you can use this feature even if you do not have any previous experience.
-
Custom Error Pages in Semi-dedicated Hosting
If you host your Internet sites in a
semi-dedicated server account from us, you may set personalized error pages for any of them effortlessly via our in-house developed Hepsia hosting CP. With several mouse clicks in the Hosted Domains section, you are able to edit the default setting from a system page to a custom made one for each of the four error types. All you need to do is provide a link to every file that you've uploaded before that and then save the change. If needed, you will be able to revert this customization anytime and in exactly the same way. If you would like, you can use an .htaccess file as well. It must be created/uploaded within the domain or subdomain folder associated with the internet site whose error pages you would like to alter and the content for this kind of file can be found in our Help article for this matter.