Custom Error Pages
Find out more about website error pages, precisely when they display and why you need to make use of customized error pages.
If a specific page on an Internet site doesn't load for some reason or in case a link is broken, the website visitor will see an error page with a generic message. The page will have nothing in common with the rest of the site, which can make the visitor leave your website. A possible solution in such a case is a function offered by some web hosting service providers - the option to set up your own customized error pages which will have the exact same design and style as your website and that can contain any text or images that you would like based on the specific error. There are 4 popular errors that could occur and they involve the following so-called HTTP status codes - 400, when your Internet browser sends a bad request to the web server and it can't be processed; 401, if you are supposed to log in to see a page, but you have not done this yet; 403, if you do not have an authorization to view a certain page; and 404, when a link that you have clicked leads to a file that doesn't exist. In each of these situations, site visitors will be able to see your customized content rather than a generic error page.
-
Custom Error Pages in Website Hosting
The customized error pages feature is provided with every
website hosting package we offer and you'll be able to substitute all generic pages with your own with no more than just a few mouse clicks in your Hepsia website hosting Control Panel. You'll have to develop the actual files and to upload them to your account, and then to set them for a particular domain or subdomain through the Hosted Domains section of the Hepsia CP. You can easily do this for each and every Internet site hosted inside the account independently, so that every set of custom made pages shall have the exact same design as the site it's part of. If needed, you can always return back to a default page from our system or to the default Apache server page. Another way to set customized error pages is to create an .htaccess file in the domain/subdomain root folder and to add a few lines in it. If you never done this before, you could simply copy the needed program code from our Help article about this.
-
Custom Error Pages in Semi-dedicated Hosting
Adding your personal pages for each of the four error types to any site hosted through a
semi-dedicated server account with us will be very basic and will not take more than a couple of mouse clicks. As soon as you upload the files in your account, you can navigate to the Hosted Domains section of your Hepsia CP and edit each of the domains and subdomains listed there through an intuitive interface with drop-down menus. You could select what page should appear for every error type. Your options are a standard Apache web server page or a page from our system, and personalized pages. In case you select the last option, you must type the link to each page in your account, then save the change. The link or the kind of page which will be shown if a user encounters an error can be changed whenever you want. If you're more experienced, you could use an .htaccess file to set in-house developed error pages too, as opposed to using our integrated generator tool, and should you choose this option, the file has to be located in the root directory of a given domain or subdomain.