Custom Error Pages
Understand what a Custom Error Page is, what function does it have and how to create one.
If you have looked at lots of websites, you have probably stumbled upon some error message from time to time. An error can occur if the hosting server cannot process a request (Error 400), if you need to log in so that you can see some content and you have not done so (Error 401), if you are not able to access a page (Error 403) or when a link leads to a file which isn't on the website hosting server (Error 404). Encountering this type of messages could sometimes be irritating as the pages have absolutely nothing in common with the actual site. That’s why some web hosting providers permit you to use your own error pages which will match the style of your own Internet site and that may have any content that you'd like - info why the error has occurred, a suggestion how to proceed or even some funny comment. This type of feature can help you keep the visitor on the site no matter the error or the reason for it.
-
Custom Error Pages in Shared Web Hosting
You will be able to set up personalized error pages for each of your domains or subdomains. The feature is supported by all
shared web hosting plans that we provide, so after you log in to your Hepsia CP and visit the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up which will be displayed, you could choose the type of error page that should show up - a default one from our system, a standard Apache server page or a customized one. For the last mentioned option, you'll have to specify the URL to the page, so if you use custom made pages, you need to upload the files inside your hosting account first. Another way is to use an .htaccess file placed in the domain or subdomain folder with a line for every error type. The exact syntax can be located in our Knowledge Base, so you can use this feature even if you do not have any previous experience.