Custom Error Pages
Learn more about website error pages, exactly when they display and why should you make use of customized error pages.
If a certain page on a site doesn't load for some reason or if a link is broken, the visitor shall see an error page with a generic message. The page will have nothing in common with the rest of the website, which can make the visitor leave your Internet site. A solution in cases like this is a function offered by some hosting companies - the ability to set your own custom error pages that shall have exactly the same style and design as your website and that can contain any text or images that you'd like based on the specific error. There are 4 standard errors which could take place and they involve the following so-called HTTP status codes - 400, when your Internet browser sends a bad request to the web server and it can't be processed; 401, if you're supposed to log in to see some webpage, but you haven't done so yet; 403, if you don't have an authorization to see a particular page; and 404, if a link which you have clicked leads to a file that does not exist. In each of these situations, site visitors will be able to see your custom made content instead of a generic error page.
Custom Error Pages in Cloud Website Hosting
When you purchase a cloud website hosting from our company, you will be able to set custom error pages for your sites fast and easy, since this function is a part of all our packages. Once you have created the files and uploaded them to your website hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the specific domain or subdomain. In the pop-up which will be displayed, you will see drop-down menus for all four types of errors and for each of them you could select an Apache default page, a generic page from our system or a tailor-made page. If you select the 3rd option, you should simply input the URL to the file you have uploaded then save the change. One other way to set custom made error pages is to set up an .htaccess file inside the domain or subdomain folder and to include a few lines of program code in it. If you do not have preceding experience or if you're just uncertain how to do this, you may just copy and paste the code from our Knowledge Base article on that topic.