Custom Error Pages
Take a plunge into website error pages. Find out when they show up and why you should make your individual custom error pages.
If a specific page on a site does not load for some reason or if a link is not working, the site visitor will see an error page with some generic message. The page will have nothing in common with the rest of the website, which could make the visitor leave the site. A likely solution in this case is a function offered by some web hosting service providers - the ability to set your own custom-made error pages that will have exactly the same layout as your Internet site and that may contain any text or images that you would like depending on the particular error. There are four popular errors that could take place and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the server and it can't be processed; 401, if you're supposed to log in to see some web page, but you haven't done so yet; 403, if you do not have an authorization to view a particular page; and 404, in case a link that you've clicked leads to a file that doesn't exist. In each of these situations, website visitors will be able to see your custom content as opposed to a generic error page.
-
Custom Error Pages in Hosting
If you obtain a
Linux hosting package from our company, you shall be able to set custom made error pages for your websites fast and easy, because this feature is a part of all our packages. After you've created the files and uploaded them to your web hosting account, you can check out the Hosted Domains section of your Hepsia Control Panel and click on the Edit button for the particular domain or subdomain. Inside the pop-up which will show up, you shall see drop-down menus for all four sorts of errors and for each one of them you can select an Apache default page, a generic page from our system or a customized page. If you select the third option, you should just type the URL to the file you have uploaded and save the change. One other way to set personalized error pages is to set up an .htaccess file in the domain or subdomain folder and to add several lines of code in it. If you do not have previous experience or if you're just unsure how to do that, you could simply copy and paste the code from our Knowledge Base article on that matter.