If a specific page on a site does not load for some reason or if a link is not functioning, the visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the website, which can make the visitor leave your website. A possible solution in cases like this is a function offered by some hosting providers - the option to set up your own personalized error pages that will have the same design and style as your website and which may contain any text or images that you'd like dependent upon the particular error. There are 4 standard errors which may occur and they involve these so-called HTTP status codes - 400, when your web browser sends a bad request to the web server and it can't be processed; 401, if you are supposed to log in to see some web page, but you haven't done so yet; 403, if you do not have a permission to view a particular page; and 404, in case a link that you've clicked leads to a file that doesn't exist. In all of these scenarios, website visitors will be able to see your custom made content rather than a generic error page.
Custom Error Pages in Cloud Website Hosting
When you obtain a cloud website hosting service
from our company, you'll be able to set personalized error pages for your websites fast and easy, since this feature is a part of all of our packages. Once you've created the files and uploaded them to your website hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the particular domain or subdomain. In the pop-up that will be displayed, you will see drop-down options menus for all four kinds of errors and for each one of them you can pick an Apache default page, a generic page from our system or a custom page. If you pick the 3rd option, you should just type the URL to the file which you have uploaded and save the change. One other way to set custom error pages is to create an .htaccess file in the domain or subdomain folder and to include a few lines of code in it. In case you don't have preceding experience or if you're simply not sure how to do that, you could simply copy and paste the code from our Knowledge Base article on that topic.
Custom Error Pages in Semi-dedicated Hosting
If you host your Internet sites in a semi-dedicated server
account with our company, you may set custom made error pages for any of them with ease using our custom Hepsia hosting CP. With only several mouse clicks inside the Hosted Domains section, you can change the default setting from a system page to a customized one for any of the 4 error types. All you need to do is supply a link to each file you have uploaded before that and then save the change. If necessary, you'll be able to revert this modification whenever you want and in exactly the same way. If you'd like, you may use an .htaccess file as well. It should be created/uploaded within the domain or subdomain folder related to the website whose error pages you would want to change and the content for such a file can be found in our Help article about this matter.