Custom Error Pages
Find out more about website error pages, when they pop up and why you ought to make use of customized error pages.
If a certain page on an Internet site does not load for some reason or in case a link is not working, the visitor will see an error page with a generic message. The page shall have nothing in common with the rest of the site, which can make the visitor leave your site. A potential solution in such a case is a feature offered by some hosting providers - the option to set up your own personalized error pages that will have the same style and design as your site and that could contain any text or images which you want based on the particular error. There are four common errors that may take place and they involve the following so-called HTTP status codes - 400, when your web browser sends a bad request to the hosting server and it cannot be processed; 401, in case you are supposed to log in to see some webpage, but you have not done so yet; 403, if you don't have an authorization to see a specific page; and 404, when a link that you have clicked leads to a file that does not exist. In each of these scenarios, visitors shall be able to see your personalized content rather than a generic error page.
-
Custom Error Pages in Website Hosting
You will be able to set up custom error pages for all of your domains or subdomains. The feature is supported by all
website hosting package which we offer, 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 will show up, you may choose the sort of error page which should show up - a default one from our system, a typical Apache server page or a personalized one. For the aforementioned alternative, you will need to specify the URL to the page, so when you use custom made pages, you have to upload the files inside your hosting account first. An alternative way is to use an .htaccess file positioned in the domain or subdomain folder with a line for every error type. The exact syntax can be found in our Knowledge Base, so that you can use this function even if you don't have any previous experience.
-
Custom Error Pages in Semi-dedicated Hosting
All
Linux semi-dedicated hosting that we provide support custom error pages and it shall not take more than a few mouse clicks in your Hepsia website hosting Control Panel to use this feature. The option can be found in the Hosted Domains section of your CP where you will need to type in the links to the custom-made files through simple drop-down menus and an intuitive interface. Of course, you should upload them inside your account before that. If you don't want to employ this feature at some point, you can deactivate it just as quickly and select an Apache server page or a default page from our system to be viewable if your visitors encounter an error. If you prefer, you could also use an .htaccess file to activate the custom error pages. The file needs to contain a specific line of code and a link for each and every error type and you can easily discover an example of the entire content for all four error types in our Help section.