Custom Error Pages
Discover more about website error pages, when they show up and why you should utilize customized error pages.
If a certain page on a website does not load for some reason or if a link is not functioning, the site visitor will see an error page with some generic message. The page shall have nothing in common with the rest of the Internet site, which may make the visitor leave the site. A potential solution in cases like this is a function offered by some web hosting providers - the option to set your own personalized error pages that shall have exactly the same design as your Internet site and that can contain any images or text that you'd like depending on the specific error. There are four popular errors that could take place and they involve these so-called HTTP status codes - 400, when your 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 page, but you haven't done so yet; 403, if you don't have a permission to view a particular page; and 404, if a link which you've clicked leads to a file which doesn't exist. In any of these cases, visitors shall be able to see your custom content as opposed to a generic error page.
Custom Error Pages in Shared Hosting
You will be able to set up customized error pages for all of your sites easily when you use any of our Linux shared packages
. This can be done using the Hosted Domains part of the Hepsia Control Panel, provided with all accounts and when you go there, you can set your custom made pages independently for any domain or subdomain. You need to upload the files to your account ahead of time and input the links to them through the process. This function may be de-activated at any time and the options you'll be able to select from are a generic page from our system or a default Apache web server page. Custom made error pages could be set with an .htaccess file too. The file should be put in the domain or subdomain folder and it should include some system code and links to the pages. If you are not tech-savvy, you can copy the entire content you'll need for the file from our Help section.
Custom Error Pages in Semi-dedicated Hosting
Including your pages for any of the 4 error types to any Internet site hosted inside a semi-dedicated server
account with us will be really basic and shall not take more than several clicks. Once you upload the files in your account, you can go to the Hosted Domains section of your Hepsia CP and edit the domains and subdomains listed there through an intuitive interface with drop-down menus. You can select what page should appear for every single error type. Your options are a standard Apache server page or a page from our system, and custom pages. If you select the aforementioned option, you must enter the link to every single page in your account, then save the change. The link or the kind of page that will be displayed if a user encounters an error can be changed at any time. In case you’re more experienced, you can use an .htaccess file to be able to set tailor-made error pages too, rather than using our integrated generator software instrument, and should you pick this option, the file should be located inside the root directory of a given domain or subdomain.