Custom Error Pages
Get familiar with website error pages. Discover when they show up and why you need to create your own custom error pages.
If a particular page on an Internet site does not load for some reason or in case a link is not functioning, the website visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the website, that may make the visitor leave your Internet site. A possible solution in such a case is a function made available from some hosting companies - the option to set your own custom-made error pages that shall have the exact same layout as your website and which may contain any images or text you want depending on 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 web browser sends a bad request to the server and it can't be processed; 401, if you're supposed to log in to see a webpage, but you haven't done this yet; 403, if you don't have an authorization to see a particular page; and 404, in case a link which you've clicked leads to a file which doesn't exist. In each of these situations, site visitors will be able to see your personalized content as opposed to a generic error page.
-
Custom Error Pages in Cloud Hosting
The custom made error pages feature is provided with each and every
cloud hosting plan we offer and you'll be able to swap all the generic pages with your own with no more than several clicks in your Hepsia website hosting CP. You'll need to produce the actual files and to upload them to your account, and then to set them for a given domain or subdomain via the Hosted Domains section of the Hepsia CP. You could do this for each and every Internet site hosted in the account individually, so that each set of customized pages shall have the exact same design and style as the website it's part of. When necessary, you may always revert back to a default page from our system or to a default Apache server page. An alternate way to set custom error pages is to create an .htaccess file inside the domain/subdomain root folder and to add a few lines in it. If you have not done this before, you can simply copy the required code from our Help article on the subject.
-
Custom Error Pages in Semi-dedicated Hosting
If you host your sites in a
semi-dedicated server account from us, you may set custom made error pages for any of them easily through our custom Hepsia hosting CP. With a couple of clicks inside the Hosted Domains section, you are able to change the default setting from a system page to a tailor-made one for each of the four error types. All you should do is provide a link to every single file which you have uploaded before that and then save the change. If needed, you shall be able to revert this modification anytime and in exactly the same way. If you would like, you may use an .htaccess file too. It should be created/uploaded in the domain or subdomain folder related to the site whose error pages you want to change and the content for this type of file can be found in our Help article for this matter.