Custom Error Pages
Get familiar with website error pages. Learn when they show up and why you need to configure your own custom error pages.
If a specific page on a site doesn't load for some reason or in case a link is not functioning, the website 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 your site. A likely solution in this case is a function made available from some web hosting service providers - the option to set up your own personalized error pages that will have exactly the same style and design as your Internet site and that may contain any images or text you want dependent upon the specific error. There are four popular errors which could occur and they involve these particular so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the server and it can't 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 an authorization to view a specific page; and 404, if a link that you've clicked leads to a file that does not exist. In any of these situations, website visitors shall be able to see your customized content as opposed to a generic error page.
-
Custom Error Pages in Shared Website Hosting
You'll be able to set up customized error pages for all of your websites with ease when you use any of our
Linux shared website hosting packages. This can easily be done using the Hosted Domains section of the Hepsia CP, provided with all accounts and once you go there, you can set your custom pages independently for any domain or subdomain. You have to upload the files to your account in advance and input the links to them through the process. This feature may be de-activated at any time and the options you'll be able to select from are a standard page from our system or a default Apache server page. Tailor-made error pages could be set with an .htaccess file too. The file should be put into the domain or subdomain folder and it should incorporate some system code and links to the pages. If you're not tech-savvy, you may copy the entire content required for the file from our Help section.
-
Custom Error Pages in Semi-dedicated Hosting
If you host your web sites in a
semi-dedicated server account from us, you could set custom error pages for each of them easily using our custom Hepsia hosting CP. With a couple of mouse clicks inside the Hosted Domains section, you'll be able to change the default setting from a system page to a tailor-made one for each of the 4 error types. All you should do is provide a link to each file you have uploaded before that and then save the change. If necessary, you shall be able to revert this change at any time and in exactly the same way. If you wish, you can use an .htaccess file too. It has to be created/uploaded inside the domain or subdomain folder belonging to the internet site whose error pages you want to change and the content for this sort of file can be found in our Help article on this matter.