Custom Error Pages
Find out more about website error pages, precisely when they appear and why should you utilize customized error pages.
Whenever a page on your site doesn't load, an error message shall be displayed to the site visitor. As there are different errors, there are different pages that will display, but what's typical for all of them is that they're generic and probably will have practically nothing that is similar to the layout of your website, which may be frustrating for any website visitor. This is the primary reason why hosting providers have introduced a feature called Custom Error Pages. For a range of different errors, website visitors will see your custom content, which could be informative or amusing, based on your taste, and which will match the overall layout of your website, so the pages won't look like they're not part of your website at all. You could use this option for many errors - 400 (Bad request), 401 (Unauthorized), 403 (Forbidden) and 404 (File not Found).
-
Custom Error Pages in Web Hosting
You'll be able to set up custom made error pages for any of your domains or subdomains. The function is supported by all
web hosting plans which we offer, so when you log in to your Hepsia Control Panel 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 be displayed, you can pick the sort of error page that should appear - a default one from our system, a typical Apache web server page or a customized one. For the latter alternative, you must specify the URL to the page, so when you use custom made pages, you must upload the files in your website hosting account first. One other way is to use an .htaccess file positioned inside the domain or subdomain folder with a line for every error type. The correct syntax can be seen in our Knowledge Base, so you can use this feature even if you don't have any previous experience.
-
Custom Error Pages in Semi-dedicated Servers
Our
semi-dedicated plans support tailor-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 that is to check out the Hosted Domains section of the Hepsia Control Panel, to click the Edit button linked to the specific domain/subdomain and to input the link to the custom file. You could do this individually for each error type. You will be able to switch back to a default error page anytime if necessary and the change shall take effect straightaway. A different way to achieve the exact same result is to place an .htaccess file in the domain or subdomain folder related to the web site that you'd like to edit and to input several lines of program code within it. If you would like to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, so you shall not need any computer programming skills or prior experience.