If a certain page on a site doesn't load for some reason or in case a link is not functioning, the website visitor will see an error page with a generic message. The page will have nothing in common with the rest of the website, which can make the visitor leave your site. A likely solution in this case is a function made available from some website hosting companies - the ability to set up your own custom error pages that will have the exact same style and design as your Internet site and that may contain any text or images that you'd like depending on the specific error. There are four popular errors which can take place and they involve these particular 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 some web page, but you haven't done this yet; 403, if you do not have a permission to view a certain page; and 404, in case a link that you've clicked leads to a file which doesn't exist. In any of these scenarios, site visitors will be able to see your customized content as opposed to a generic error page.
Custom Error Pages in Website Hosting
The personalized error pages feature is provided with every single website hosting
package which we offer and you shall be able to substitute the generic pages with your own with no more than a few mouse clicks inside your Hepsia website hosting Control Panel. You'll need to develop the actual files and to upload them to your account, then to set them for a specific domain or subdomain through the Hosted Domains section of the Hepsia CP. You can easily do this for every site hosted inside the account independently, so that every group of customized pages shall have identical design as the site it is part of. If necessary, you may always go back to a default page from our system or to a default Apache server page. An alternate 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 may simply copy the required program code from our Help article on the subject.
Custom Error Pages in Semi-dedicated Hosting
Including your pages for any of the 4 error types to any website hosted from a semi-dedicated server
account with us will be very easy and won't take more than a few mouse clicks. Once you upload the files to your account, you can check out the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there through an intuitive interface with drop-down menus. You may select what page should show up for each error type. The alternatives are a standard Apache web server page or a page from our system, and customized pages. Should you select the abovementioned option, you need to enter the link to each and every page in your account, then save the change. The link or the sort of page which appears when a user encounters an error can be changed anytime. In case you’re more experienced, you could use an .htaccess file to set in-house developed error pages as well, rather than using our integrated generator software instrument, and if you choose this option, the file has to be positioned in the root directory of a particular domain or subdomain.