If a certain page on a site doesn't load for some reason or if 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 site, which may make the visitor leave your site. A likely solution in such a case is a feature offered by some web hosting service providers - the ability to set up your own personalized error pages which will have identical design and style as your Internet site and that may contain any text or images you want based on the particular error. There are four standard errors that can take place and they involve these particular so-called HTTP status codes - 400, when your world-wide web 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 web page, but you have not done this yet; 403, if you don't have a permission to view a specific page; and 404, if a link that you have clicked leads to a file that does not exist. In each of these scenarios, website visitors will be able to see your customized content as opposed to a generic error page.
Custom Error Pages in Hosting
If you order a hosting plan
from us, you shall be able to set custom made error pages for your sites easily and quickly, as this feature is part of all of our packages. The moment you have created the files and uploaded them to your web hosting account, you should check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. In the pop-up which will show up, you will see drop-down menus for all 4 types of errors and for each one of them you can choose an Apache default page, a generic page from our system or a personalized page. In case you choose the third option, you should simply input the URL to the file that you've uploaded then save the change. A different way to set customized error pages is to set up an .htaccess file inside the domain or subdomain folder and to include several lines of program code in it. In case you don't have preceding experience or if you're just uncertain how to do that, you may simply copy/paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Servers
All of our semi-dedicated plans
support custom made error pages, so you'll be able to employ this feature for each and every domain or subdomain hosted inside your account. All it takes to do this is to go to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button linked to the particular domain/subdomain and to type in the link to the custom-made file. You can do this individually for each error type. You shall be able to switch back to a default error page whenever you want if necessary and the change shall take effect at once. An alternative way to achieve the very same result is to put an .htaccess file in the domain or subdomain folder associated with the Internet site that you want to change and to type in a couple of lines of program code in it. If you would like to try this method, you may copy and paste the needed code from our Knowledge Base article on custom error pages, therefore you will not need any programming skills or prior experience.