Custom Error Pages
Discover more about web site error pages, when they display and why should you make use of customized error pages.
If a specific page on a site does not load for some reason or in case a link is not functioning, the visitor will see an error page with a generic message. The page will have nothing in common with the rest of the website, which could make the visitor leave the website. A possible solution in this case is a function offered by some website hosting providers - the ability to set your own personalized error pages that will have the same layout as your site and that could contain any images or text which you want based on the particular error. There are 4 popular errors that may occur 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 can't be processed; 401, if you're supposed to log in to see a page, but you have not done this yet; 403, if you do not have an authorization to view a specific page; and 404, when a link which you've clicked leads to a file that doesn't exist. In any of these situations, website visitors shall be able to see your custom content instead of a generic error page.
-
Custom Error Pages in Shared Website Hosting
You can set up customized error pages for any of your domains or subdomains. The function is supported by all
shared website hosting package which we offer, so after you log in to your Hepsia CP and visit the Hosted Domains section, you can click on the Edit button for a domain/subdomain and in the pop-up that"ll be displayed, you may select the sort of error page which should show up - a default one from our system, a typical Apache server page or a customized one. For the latter option, you have to assign the URL to the page, so when you use custom pages, you have to upload the files inside your web hosting account first. One other way is to use an .htaccess file placed in the domain or subdomain folder with a line for each error type. The exact syntax can be seen in our Knowledge Base, so you can use this function even if you don't have any previous experience.
-
Custom Error Pages in Semi-dedicated Hosting
If you host your sites in a
semi-dedicated server account from our company, you can set customized error pages for each of them easily via our custom Hepsia hosting Control Panel. With several mouse clicks in the Hosted Domains section, you can modify the default setting from a system page to a custom made one for any of the four error types. All you have to do is supply a link to every file which you have uploaded before that and then save the change. If required, you will be able to revert this change anytime and in exactly the same way. If you want, you may use an .htaccess file as well. It has to be created/uploaded in the domain or subdomain folder linked to the internet site whose error pages you intend to alter and the content for this kind of file can be found in our Help article on this matter.