Custom Error Pages
Understand what a Custom Error Page is, what function does it have and ways to create one.
If a particular page on an Internet site does not load for some reason or in case a link is not functioning, the site visitor will see an error page with some generic message. The page will have nothing in common with the rest of the Internet site, which may make the visitor leave the website. A potential solution in this case is a feature offered by some website hosting service providers - the ability to set your own custom-made error pages which shall have exactly the same layout as your Internet site and which can contain any text or images that you would like dependent upon the particular error. There are 4 common errors which may occur and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it cannot 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 an authorization to see a certain page; and 404, if a link that you've clicked leads to a file that does not exist. In each of these scenarios, visitors shall be able to see your customized content rather than a generic error page.
-
Custom Error Pages in Cloud Hosting
You will be able to set up custom made error pages for all of your sites without difficulty if you use any of our
Linux cloud hosting service. This can easily be done through the Hosted Domains section of the Hepsia Control Panel, which comes with all accounts as soon as you go there, you could set your custom pages independently for any domain or subdomain. You must upload the files to your account in advance and enter the links to them through the process. This feature could be de-activated anytime and the options you shall be able to to pick from are a standard page from our system or a default Apache web server page. Customized error pages may be set with an .htaccess file too. The file should be placed in the domain or subdomain folder and it should include some system code and links to the pages. If you're not tech-savvy, you can copy the entire content needed for the file from our Help section.
-
Custom Error Pages in Semi-dedicated Servers
All
semi-dedicated service which we provide support tailor-made error pages and it will not take more than a couple of clicks inside your Hepsia website hosting Control Panel to use this feature. The option is included in the Hosted Domains section of your Control Panel where you will have to enter the links to the custom-made files via very simple drop-down menus and a time and effort saving interface. Of course, you have to upload them to your account before that. If you do not want to employ this function at some point, you could deactivate it just as easily and pick an Apache server page or a default page from our system to be displayed whenever your visitors encounter an error. If you'd like to, you can also use an .htaccess file to activate the customized error pages. The file needs to contain a particular line of code as well as a link for each error type and you can easily discover an example of the whole content for all four error types in our Help section.