If a particular page on an Internet site doesn't 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 your site. A potential solution in cases like this is a function made available from some hosting companies - the option to set your own custom error pages that shall have the same layout as your site and that could contain any images or text that you would like based on the specific error. There are 4 common errors which may take place and they involve the following so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it cannot be processed; 401, if you're supposed to log in to see some webpage, but you haven't done this yet; 403, if you do not have an authorization to view a specific page; and 404, if a link which you've clicked leads to a file which doesn't exist. In any of these scenarios, website visitors shall be able to see your customized content rather than a generic error page.
Custom Error Pages in Hosting
The custom made error pages function is available with each and every hosting plan which we offer and you'll be able to replace all generic pages with your own with no more than several mouse clicks from your Hepsia website hosting Control Panel. You shall have to produce the actual files and to upload them to your account, and then to set them for a particular domain or subdomain via the Hosted Domains section of the Hepsia Control Panel. You could do this for each and every website hosted inside the account separately, so that every set of custom made pages will have the very same design as the website it is part of. When necessary, you can always revert back to a default page from our system or to the default Apache server page. An alternate way to set personalized error pages is to create an .htaccess file in the domain/subdomain root folder and to include a few lines in it. If you never done this before, you can simply copy the required code from our Help article on the subject.
Custom Error Pages in Semi-dedicated Hosting
Our semi-dedicated hosting support custom error pages, thus you'll be able to employ this function for each and every domain or subdomain hosted inside your account. All it will take to do this is to go to the Hosted Domains section of the Hepsia CP, to click the Edit button related to the given domain/subdomain and then to type the link to the custom-made file. You could do this individually for each error type. You will be able to switch back to a generic error page at any time if required and the change will take effect immediately. An alternative way to achieve the very same result is to put an .htaccess file in the domain or subdomain folder of the Internet site which you would like to change and to enter a few lines of program code in it. If you want to try this method, you can copy and paste the required code from our Knowledge Base article on custom error pages, thus you'll not need any computer programming skills or previous experience.