Custom Error Pages
Take a plunge into website error pages. Discover when they show up and why you need to configure your own custom error pages.
If a certain page on an Internet 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 shall have nothing in common with the rest of the site, that may make the visitor leave your Internet site. A potential solution in cases like this is a feature offered by some website hosting providers - the option to set your own personalized error pages that will have exactly the same design as your Internet site and which may contain any images or text that you would like dependent upon the particular error. There are 4 popular errors which may take place and they involve these particular so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the web 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 a permission to see a certain page; and 404, in case a link that you have clicked leads to a file that doesn't exist. In each of these cases, visitors shall be able to see your customized content rather than a generic error page.
-
Custom Error Pages in Cloud Website Hosting
The personalized error pages function is provided with each and every
cloud website hosting package deal which we offer and you'll be able to substitute all the generic pages with your own with no more than several clicks in your Hepsia website hosting CP. You will need to develop the actual files and to upload them to your account, then to set them for a given domain or subdomain from the Hosted Domains section of the Hepsia Control Panel. You may do this for each and every website hosted inside the account individually, so that each set of customized pages shall have the same layout as the website it is part of. If needed, you may always revert 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 inside the domain/subdomain root folder and to include a few lines in it. If you never done this before, you may simply copy the necessary code from our Help article about the subject.
-
Custom Error Pages in Semi-dedicated Servers
Including your pages for any of the four error types to any Internet site hosted inside a
semi-dedicated server account with us will be really easy and won't take more than several mouse clicks. Once you upload the files in your account, you could go to the Hosted Domains section of your Hepsia CP and edit any of the domains and subdomains listed there using an intuitive interface with drop-down navigation. You can pick what page should appear for each error type. Your choices are a default Apache web server page or a page from our system, and tailor-made pages. If you choose the aforementioned option, you must type the link to each page in your account, then save the change. The link or the type of page that will appear if a user encounters an error can be changed whenever you want. In case you are more experienced, you can use an .htaccess file in order to set in-house developed error pages as well, rather than using our integrated generator software tool, and in case you choose this option, the file has to be located inside the root directory of a given domain or subdomain.