If a specific page on an Internet site doesn't load for some reason or if a link is broken, the site visitor shall see an error page with some generic message. The page will have nothing in common with the rest of the site, which could make the visitor leave the site. A likely solution in cases like this is a function offered by some website hosting service providers - the option to set your own customized error pages which shall have the exact same design as your Internet site and that can contain any text or images that you would like dependent upon the specific error. There are four standard errors that may take place and they involve these particular so-called HTTP status codes - 400, when your world-wide web browser sends a bad request to the server and it can't be processed; 401, if you're supposed to log in to see a webpage, but you have not done this yet; 403, if you don't have an authorization to see a particular page; and 404, if a link which you have clicked leads to a file which doesn't exist. In each of these cases, site visitors shall be able to see your personalized content instead of a generic error page.
Custom Error Pages in Shared Website Hosting
You can set up custom made error pages for all of your domains or subdomains. The function is supported by all shared website hosting plans that we offer, so once you log in to your Hepsia CP and check out the Hosted Domains section, you can easily click on the Edit button for a domain/subdomain and in the pop-up that"ll show up, you could choose the type of error page which should appear - a default one from our system, a typical Apache server page or a personalized one. For the last mentioned option, you need to assign the URL to the page, so when you use custom made pages, you should upload the files inside your Internet hosting account first. An alternative way is to use an .htaccess file placed in the domain or subdomain folder with a line for every error type. The precise syntax can be found in our Knowledge Base, to help you use this function even if you do not have any previous experience.
Custom Error Pages in Semi-dedicated Hosting
Incorporating your own pages for any of the four error types to any site hosted inside a semi-dedicated server account with us will be very uncomplicated and won't take more than several mouse clicks. After you upload the files inside your account, you could go to the Hosted Domains section of your Hepsia Control Panel and edit the domains and subdomains listed there using an intuitive interface with drop-down menus. You may select what page should appear for every error type. The alternatives are a default Apache server page or a page from our system, and customized pages. Should you pick the aforementioned option, you must type the link to each and every page inside your account, then save the change. The link or the kind of page which will be displayed in case a user encounters an error can be changed at any time. In case you’re more experienced, you can use an .htaccess file in order to set customized error pages as well, rather than using our integrated generator instrument, and if you choose this option, the file needs to be positioned in the root directory of a specific domain or subdomain.