Custom Error Pages
Find out about website error pages, precisely when they pop up and why you ought to use customized error pages.
If you have looked at many websites, you have probably encountered some error message from time to time. An error may take place if the web server cannot process a request (Error 400), if you need to log in so that you can see some content and you haven't done so (Error 401), if you aren't permitted to access a webpage (Error 403) or if a link leads to a file that is not on the server (Error 404). Receiving this kind of messages can sometimes be annoying because the pages have nothing in common with the actual Internet site. That’s why some web hosting service providers permit you to apply your own error pages which will match the design of your own site and that could have any content that you want - information why the error has occurred, a suggestion how to handle it or even some funny comment. This kind of feature shall help you keep the visitor on the website regardless of the error and the reason for it.
-
Custom Error Pages in Shared Website Hosting
If you buy a
Linux shared website hosting from our company, you'll be able to set custom made error pages for your Internet sites easily and quickly, because this feature is a part of all our plans. As soon as you've created the files and uploaded them to your web hosting account, you can check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the selected domain or subdomain. Inside the pop-up which will appear, you shall see drop-down menus for all four kinds of errors and for each one of them you may choose an Apache default page, a generic page from our system or a custom page. In case you pick the 3rd option, you should simply input the URL to the file you have uploaded and save the change. One other way to set custom made error pages is to create an .htaccess file inside the domain or subdomain folder and to add several lines of code in it. In case you don't have prior experience or if you're simply uncertain how to do this, you can just copy/paste the code from our Knowledge Base article on that topic.
-
Custom Error Pages in Semi-dedicated Hosting
All of the
Linux semi-dedicated hosting which we offer support personalized error pages and it will not take more than several clicks from your Hepsia hosting Control Panel to use this function. The option can be found in the Hosted Domains section of your Control Panel in which you'll have to enter the links to the custom-made files using very simple drop-down menus and an intuitive interface. Keep in mind, you have to upload them to your account before that. In case you don't want to employ this function at some point, you will be able to deactivate it just as quickly and pick an Apache server page or a default page from our system to be viewable whenever your visitors encounter an error. If you prefer, you may also use an .htaccess file to permit the custom made error pages. The file needs to have a specific line of code as well as a link for each error type and you can discover an example of the entire content for all four error types in our Help section.