Custom Error Pages
Learn more about web site error pages, exactly when they appear and why you need to make use of customized error pages.
If a certain page on a website does not load for some reason or if a link is not working, the website visitor will see an error page with some generic message. The page will have nothing in common with the rest of the Internet site, which may make the visitor leave your website. A likely solution in such a case is a feature made available from some website hosting providers - the option to set up your own personalized error pages that shall have the exact same style and design as your Internet site and that can contain any images or text which you want depending on the particular error. There are four well-known errors which may take place and they involve these so-called HTTP status codes - 400, when your browser sends a bad request to the hosting server and it cannot be processed; 401, if you're supposed to log in to see some page, but you haven't done so yet; 403, if you do not have a permission to view a certain page; and 404, in case a link that you have clicked leads to a file that does not exist. In all of these situations, site visitors will be able to see your personalized content as opposed to a generic error page.
-
Custom Error Pages in Shared Hosting
You will be able to set up custom made error pages for any of your Internet sites with ease when you use any of our
shared hosting services. This can easily be done from the Hosted Domains section of the Hepsia CP, which comes with all accounts as soon as you go there, you can set your customized pages independently for any domain or subdomain. You have to upload the files to your account ahead of time and input the links to them through the process. This function may be de-activated whenever you want and the options you'll be able to select from are a conventional page from our system or a default Apache server page. Custom made error pages can be set with an .htaccess file too. The file should be put in the domain or subdomain folder and it must include some system code and links to the pages. If you are not tech-savvy, you could copy the entire content required for the file from our Help section.
-
Custom Error Pages in Semi-dedicated Hosting
All our
Linux semi-dedicated services support tailor-made error pages, so you shall be able to employ this function for any domain or subdomain hosted inside your account. All it will take to do that is to navigate to the Hosted Domains section of the Hepsia Control Panel, to click on the Edit button associated with the specific domain/subdomain and then to enter the link to the custom-made file. You'll be able to do this individually for every error type. You'll be able to switch back to a default error page anytime if necessary and the change shall take effect immediately. A different way to achieve the same result is to set an .htaccess file inside the domain or subdomain folder related to the web site which you would like to change and to input a few lines of code within it. If you want to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, hence you shall not need any programming skills or prior experience.