Custom Error Pages
Understand what a Custom Error Page is, what function does it have and ways to set one.
If a certain page on an Internet site does not load for some reason or if a link is not functioning, the website visitor will see an error page with a generic message. The page will have nothing in common with the rest of the Internet site, that could make the visitor leave the website. A likely solution in cases like this is a function offered by some hosting service providers - the ability to set up your own customized error pages which shall have the exact same layout as your Internet site and that could contain any images or text which you want dependent upon the specific error. There are four well-known errors which may take place and they involve these so-called HTTP status codes - 400, when your 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 some webpage, but you haven't done this yet; 403, if you don't have an authorization to view a specific page; and 404, if a link which you have clicked leads to a file which does not exist. In each of these situations, website visitors shall be able to see your custom content as opposed to a generic error page.
-
Custom Error Pages in Website Hosting
The personalized error pages function is available with every single
website hosting package deal we offer and you'll be able to substitute all generic pages with your own with no more than several mouse clicks in your Hepsia website hosting CP. You will have to create the actual files and to upload them to your account, then to set them for a specific domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You may do this for each and every site hosted in the account individually, so that every group of custom pages will have the very same design as the website it is part of. If necessary, you can always revert back to a default page from our system or to the default Apache server page. A different way to set customized error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you have never done this before, you may simply copy the needed code from our Help article on the subject.
-
Custom Error Pages in Semi-dedicated Servers
All
semi-dedicated servers that we provide support custom made error pages and it will not take more than a couple of clicks in your Hepsia hosting Control Panel to use this feature. The option is available in the Hosted Domains section of your CP in which you'll have to enter the links to the custom-made files using simple drop-down menus and a time and effort saving interface. Needless to say, you have to upload them to your account before that. If you don't want to use this feature at some point, you can deactivate it just as fast and choose an Apache server page or a default page from our system to be viewable if your visitors encounter an error. If you prefer, you can also use an .htaccess file to enable the personalized error pages. The file needs to have a specific line of code as well as a link for every error type and you may find an example of the entire content for all four error types in our Help section.