Custom Error Pages
Learn more about website error pages, exactly when they appear and why you should make use of customized error pages.
If a particular page on an Internet site does not load for some reason or in case a link is not functioning, the site visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the website, that may make the visitor leave the website. A possible solution in this case is a function made available from some web hosting providers - the ability to set your own custom-made error pages which will have the exact same design as your Internet site and that could contain any text or images that you'd like based on the specific error. There are 4 popular errors which can take place and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the server and it can't be processed; 401, in case you are supposed to log in to see a web page, but you haven't done this yet; 403, if you don't have a permission to see a certain page; and 404, when a link that you've clicked leads to a file that does not exist. In any of these scenarios, site visitors shall be able to see your custom content as opposed to a generic error page.
Custom Error Pages in Website Hosting
You shall be able to set up custom made error pages for all of your domains or subdomains. The feature is supported by all website hosting package that we provide, so after you log in to your Hepsia CP and go to the Hosted Domains section, you may click on the Edit button for a domain/subdomain and in the pop-up that will appear, you could select the sort of error page that should show up - a default one from our system, a conventional Apache server page or a custom one. For the aforementioned option, you must assign the URL to the page, so if you use custom made pages, you should upload the files inside your Internet hosting account first. Another way is to use an .htaccess file placed inside the domain or subdomain folder with a line for every error type. The actual syntax can be located in our Knowledge Base, so that you can use this feature even if you don't have any previous experience.