Custom Error Pages
Learn more about website error pages, precisely when they show up and why you need to utilize customized error pages.
If a certain page on an Internet site doesn't load for some reason or if a link is broken, the visitor will see an error page with a generic message. The page will have nothing in common with the rest of the website, which could make the visitor leave the site. A possible solution in this case is a feature offered by some website hosting providers - the option to set your own customized error pages that shall have the same design as your website and that may contain any images or text that you would like dependent upon the specific error. There are 4 well-known errors which can occur and they involve these particular so-called HTTP status codes - 400, when your Internet browser sends a bad request to the web server and it cannot be processed; 401, if you're 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 certain page; and 404, in case a link that you have clicked leads to a file which doesn't exist. In each of these scenarios, visitors shall be able to see your customized content instead of a generic error page.
-
Custom Error Pages in Shared Hosting
You'll be able to set up custom made error pages for any of your Internet sites without difficulty when you use any of our
shared hosting. This can easily be done from the Hosted Domains part of the Hepsia CP, which comes with all accounts and when you go there, you'll be able to set your personalized pages independently for any domain or subdomain. You must upload the files to your account in advance and enter the links to them through the process. This function can be de-activated at any time and the options you will be able to choose from are a generic page from our system or a default Apache server page. Tailor-made error pages may be set with an .htaccess file too. The file should be put in the domain or subdomain folder and it should incorporate some system code and links to the pages. If you aren't tech-savvy, you can copy the entire content required for the file from our Help section.
-
Custom Error Pages in Semi-dedicated Servers
Our
Linux semi-dedicated service support tailor-made error pages, so you shall be able to employ this function for any domain or subdomain hosted in your account. All it takes to do that is to visit the Hosted Domains section of the Hepsia Control Panel, to click the Edit button related to the specific domain/subdomain and then to type in the link to the custom file. You can do this separately for each and every error type. You'll be able to switch back to a generic error page at any time if required and the change shall take effect instantly. Another way to get the very same result is to place an .htaccess file inside the domain or subdomain folder related to the website which you want to change and to enter a few lines of program code inside it. If you'd like to try this method, you may copy and paste the necessary code from our Knowledge Base article on custom error pages, therefore you will not need any computer programming skills or prior experience.