Custom Error Pages
Find out what a Custom Error Page is, what role does it have and ways to create one.
If a particular page on a site does not load for some reason or in case a link is not functioning, the site visitor will see an error page with a generic message. The page will have nothing in common with the rest of the website, that may make the visitor leave your Internet site. A solution in such a case is a function made available from some website hosting providers - the option to set up your own custom error pages which will have identical layout as your website and which may contain any images or text which you want dependent upon the particular error. There are 4 common errors that could take place and they involve these so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the hosting server and it cannot be processed; 401, if you're supposed to log in to see a webpage, but you have not done this yet; 403, if you don't have a permission to see a particular page; and 404, in case a link which you've clicked leads to a file which does not exist. In all of these scenarios, site visitors shall be able to see your custom made content rather than a generic error page.
-
Custom Error Pages in Shared Website Hosting
You will be able to set up personalized error pages for any of your websites easily if you use any of our
Linux shared website hosting packages. This could be done using the Hosted Domains section of the Hepsia Control Panel, provided with all accounts and when you go there, you'll be able to set your personalized pages independently for any domain or subdomain. You must upload the files to your account before you start and enter the links to them through the process. This function could be de-activated at any time and the options you will be able to choose from are a generic page from our system or a default Apache web server page. Customized error pages can be set with an .htaccess file too. The file should be put in the domain or subdomain folder and it should incorporate some system code and links to the pages. If you aren't tech-savvy, you could copy the entire content necessary for the file from our Help section.
-
Custom Error Pages in Semi-dedicated Hosting
Including your own pages for any of the 4 error types to any Internet site hosted inside a
semi-dedicated server account with us will be very simple and shall not take more than a couple of clicks. When you upload the files inside your account, you can go to the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there using an intuitive interface with drop-down navigation. You could choose what page should appear for each error type. The choices are a standard Apache web server page or a page from our system, and personalized pages. Should you choose the last option, you must enter the link to every page inside your account, then save the change. The link or the sort of page that appears in case a user encounters an error can be changed anytime. In case you’re more experienced, you can use an .htaccess file so as to set personalized error pages as well, as an alternative to using our integrated generator software tool, and should you choose this option, the file should be located in the root directory of a specific domain or subdomain.