If a particular page on a website doesn't load for some reason or if a link is broken, the visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the website, which may make the visitor leave your website. A possible solution in this case is a function made available from some web hosting providers - the ability to set up your own customized error pages which shall have the exact same layout as your website and that may contain any images or text you want based on the particular error. There are 4 well-known errors which could take place and they involve the following so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the server and it cannot be processed; 401, in case you are supposed to log in to see some webpage, but you haven't done this yet; 403, if you don't have an authorization to see a specific page; and 404, in case a link that you have clicked leads to a file which does not exist. In each of these cases, website visitors will be able to see your customized content rather than a generic error page.
Custom Error Pages in Web Hosting
You will be able to set up personalized error pages for any of your domains or subdomains. The feature is supported by all web hosting plans which we provide, so as soon as you log in to the Hepsia Control Panel and visit the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that"ll show up, you can pick the kind of error page that should show up - a default one from our system, a typical Apache web server page or a custom one. For the last mentioned option, you must specify the URL to the page, so if you use custom made pages, you have to upload the files in your Internet hosting account first. Another way is to use an .htaccess file located in the domain or subdomain folder with a line for every error type. The precise syntax can be seen in our Knowledge Base, so that you can use this function even if you do not have any previous experience.