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.
Custom Error Pages in Semi-dedicated Hosting
All of the Linux semi-dedicated hosting
which we offer support personalized error pages and it shall not take more than a couple of mouse clicks from your Hepsia hosting Control Panel to use this function. The option is available in the Hosted Domains section of your Control Panel where you'll need to type in the links to the custom-made files through very simple drop-down menus and a user-friendly interface. Needless to say, you need to upload them to your account before that. If you do not want to employ this feature at some point, you can deactivate it just as easily and select an Apache server page or a default page from our system to be shown if your visitors encounter an error. If you'd prefer, you may also use an .htaccess file to activate the personalized error pages. The file has to have a specific line of code and a link for each and every error type and you can find an example of the entire content for all four error types in our Help section.