If a particular page on a website does not load for some reason or if a link is not working, the site visitor shall see an error page with a generic message. The page shall have nothing in common with the rest of the site, that can make the visitor leave your site. A likely solution in this case is a function offered by some hosting companies - the option to set your own personalized error pages which shall have identical design and style as your website and that can contain any text or images which you want depending on the particular error. There are 4 well-known errors that can 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 cannot be processed; 401, in case you are supposed to log in to see some web page, but you haven't done so yet; 403, if you don't have a permission to see a specific page; and 404, when a link that you have clicked leads to a file that doesn't exist. In each of these cases, website visitors will be able to see your customized content instead of a generic error page.
Custom Error Pages in Website Hosting
When you purchase a Linux website hosting
from our company, you will be able to set personalized error pages for your Internet sites quickly and easily, because this feature is a part of all of our plans. 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. Inside the pop-up which will appear, you'll see drop-down options menus for all four sorts of errors and for each of them you could pick an Apache default page, a generic page from our system or a tailor-made page. In case you select the third option, you should simply type the URL to the file which you have uploaded and save the change. Another way to set customized error pages is to set up an .htaccess file inside the domain or subdomain folder and to include several lines of code in it. In case you don't have previous experience or if you're just unsure how to do this, you may just copy and paste the code from our Knowledge Base article on that topic.