Custom Error Pages
Learn more about website error pages, precisely when they show up and why you ought to make use of customized error pages.
If a certain page on a site does not load for some reason or in case a link is not working, the site visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the site, that could make the visitor leave your website. A potential solution in cases like this is a function made available from some hosting service providers - the ability to set up your own custom error pages that will have the exact same design and style as your website and which can contain any text or images you want dependent upon the specific error. There are 4 popular errors that can occur and they involve these particular so-called HTTP status codes - 400, when your browser sends a bad request to the web server and it can't be processed; 401, in case you are supposed to log in to see some page, but you haven't done this yet; 403, if you don't have an authorization to view a particular page; and 404, if a link which you've clicked leads to a file that doesn't exist. In any of these scenarios, visitors will be able to see your personalized content instead of a generic error page.
Custom Error Pages in Shared Hosting
When you order a shared hosting
from us, you shall be able to set custom error pages for your websites fast and easy, because this feature is part of all our plans. After you've created the files and uploaded them to your web hosting account, you can check out the Hosted Domains section of your Hepsia CP and click on the Edit button for the selected domain or subdomain. Inside the pop-up that will show up, you'll see drop-down options menus for all four types of errors and for each one of them you can pick an Apache default page, a generic page from our system or a custom page. In case you choose the third option, you should only enter the URL to the file that you have uploaded and save the change. Another 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 code in it. In case you don't have previous experience or if you are just unsure how to do that, you can just copy and paste the code from our Knowledge Base article on that matter.