{"id":6294,"date":"2021-05-21T16:00:45","date_gmt":"2021-05-21T16:00:45","guid":{"rendered":"https:\/\/oxhosting.com\/blog\/2021\/05\/21\/how-to-add-custom-error-pages-hosting\/"},"modified":"2021-05-21T16:00:45","modified_gmt":"2021-05-21T16:00:45","slug":"how-to-add-custom-error-pages-hosting","status":"publish","type":"post","link":"https:\/\/oxhosting.com\/blog\/2021\/05\/21\/how-to-add-custom-error-pages-hosting\/","title":{"rendered":"How to add custom error pages &#8211; Hosting"},"content":{"rendered":"<p> <script data-ad-client=\"ca-pub-3214842754935876\" async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<\/p>\n<div id=\"article\">&#038;#13<\/p>\n<p>Error internet pages are displayed when a person enters a improper\/outdated URL or when a single is not approved to accessibility a unique listing of your world wide web house. cPanel makes it possible for you to customise the default perspective and change the way the mistake is displayed:&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p><b>for cPanel paper_lantern concept<\/b><br \/><b>for cPanel x3 theme<\/b><\/p>\n<p><b>for cPanel paper_lantern concept:<\/b><\/p>\n<p>1. Log into your <b>cPanel<\/b>.&#038;#13<br \/>\n<br \/>2. Navigate to <b>Innovative<\/b> segment > <b>Error Web pages<\/b> menu:&#038;#13<br \/>\n&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/How-to-add-custom-error-pages-Hosting.png\"\/><\/p>\n<p>3. Pick out the area identify in from <b>Managing<\/b> fall-down menu and click on the error you wish to improve:&#038;#13<br \/>\n&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621612843_277_How-to-add-custom-error-pages-Hosting.png\"\/><\/p>\n<p>If you can&#8217;t locate the wanted error code in <b>Edit Widespread Mistake Codes<\/b> tab, swap to <b>Clearly show All HTTP Mistake Position Codes<\/b>:&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621612843_848_How-to-add-custom-error-pages-Hosting.png\"\/><\/p>\n<p>4. After the mistake code is picked, you will be taken to HTML editor that delivers the adhering to tags:&#038;#13<br \/>\n&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p>&#038;#13<\/p>\n<li>&#038;#13<br \/>\n<b>Requested URL: <\/b>displays the intended URL the customer is hoping to check out.<\/li>\n<p>&#038;#13<\/p>\n<li>&#038;#13<br \/>\n<b>Server identify: <\/b>shows the web site&#8217;s server title.<\/li>\n<p>&#038;#13<\/p>\n<li>&#038;#13<br \/>\n<b>Visitor&#8217;s browser:<\/b> shows the visitor&#8217;s browser style such as Web Explorer, FireFox, Netscape, etc.<\/li>\n<p>&#038;#13<\/p>\n<li>&#038;#13<br \/>\n<b>Redirect Position Code:<\/b> shows the style of code in the 300-307 variety, to find out far more adhere to  this backlink.<\/li>\n<p>&#038;#13<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621612843_249_How-to-add-custom-error-pages-Hosting.png\"\/>&#038;#13\n<\/p>\n<p>Make confident that you <b>Save<\/b> the variations.&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p>5. After that the <b>.shtml<\/b> file will be placed to the root listing of your internet site:&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621612843_925_How-to-add-custom-error-pages-Hosting.png\"\/><\/p>\n<p>6. In buy to connect .shtml to your internet site, you will need to increase the corresponding rule to <b>.htaccess<\/b> file.&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p>If you are not able to identify <b>.htaccess<\/b>, help <b>Show Hidden files (dotfiles)<\/b> solution in <b>Options<\/b> menu:&#038;#13\n<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621612843_591_How-to-add-custom-error-pages-Hosting.png\"\/><\/p>\n<p>If there is still no .htaccess file in your <b>File manager<\/b>, come to feel free of charge to generate a new 1 working with <b>File<\/b> choice:&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621612843_610_How-to-add-custom-error-pages-Hosting.png\"\/><\/p>\n<p>7. Soon after that appropriate-click on the file and use <b>Edit<\/b> choice:&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621612843_852_How-to-add-custom-error-pages-Hosting.png\"\/><\/p>\n<p>Include the pursuing rule:&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p><i>ErrorDocument 500 \/500.shtml<\/i><\/p>\n<p>Note, that mistake code and file identify must be adjusted accordingly. For case in point, if you want to join 404.shtml, the rule need to search like:&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p><i>ErrorDocument 404 \/404.html<\/i><\/p>\n<p><b>for cPanel x3 theme:<\/b><\/p>\n<p>1. Log into your <b>cPanel<\/b>.&#038;#13<br \/>\n<br \/>2. Navigate to <b>Advanced<\/b> area > <b>Mistake Internet pages<\/b> menu:&#038;#13<br \/>\n&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621612843_312_How-to-add-custom-error-pages-Hosting.png\"\/><\/p>\n<p>3. Choose the domain title in from <b>Managing<\/b> fall-down menu and click on the error you want to modify:&#038;#13<br \/>\n&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621612843_154_How-to-add-custom-error-pages-Hosting.png\"\/><\/p>\n<p>If you simply cannot discover the essential mistake code in <b>Edit Typical Mistake Codes<\/b> tab, switch to <b>Exhibit All HTTP Error Standing Codes<\/b>:&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621612843_700_How-to-add-custom-error-pages-Hosting.png\"\/><\/p>\n<p>4. After the mistake code is selected, you will be taken to HTML editor that presents the adhering to tags:&#038;#13<br \/>\n&#038;#13<br \/>\n&#038;#13\n<\/p>\n<li><b>Asked for URL: <\/b>shows the meant URL the customer is making an attempt to check out.<\/li>\n<li><b>Server title: <\/b>shows the internet site&#8217;s server name.<\/li>\n<li><b>Visitor&#8217;s browser:<\/b> shows the visitor&#8217;s browser type this sort of as Online Explorer, FireFox, Netscape, etcetera.<\/li>\n<li><b>Redirect Position Code:<\/b> shows the style of code in the 300-307 assortment, to learn more observe  this backlink.<\/li>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621612843_944_How-to-add-custom-error-pages-Hosting.png\"\/><\/p>\n<p>Do not overlook to <b>Help save<\/b> the adjustments.&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p>5. Right after that the <b>.shtml<\/b> file will be positioned to the root directory of your web-site. &#038;#13<br \/>\n&#038;#13\n<\/p>\n<p>Transfer to <b>File Manager<\/b> menu in cPanel, choose <b>Document root for<\/b> possibility and your domain from the fall-down menu. Make guaranteed that <b> Exhibit Concealed Documents (dotfiles)<\/b> is enabled:&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621612843_667_How-to-add-custom-error-pages-Hosting.png\"\/><\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621612843_419_How-to-add-custom-error-pages-Hosting.png\"\/><\/p>\n<p>6. In get to hook up .shtml to your web-site, you need to have to incorporate the corresponding rule to <b>.htaccess<\/b> file.&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p>If you can not locate .htaccess file in your internet site root directory, feel absolutely free to make a new just one employing <b>New File<\/b> choice:&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621612843_75_How-to-add-custom-error-pages-Hosting.png\"\/><\/p>\n<p>7. Immediately after that appropriate-click on the file and use <b>Edit<\/b> solution:&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621612843_335_How-to-add-custom-error-pages-Hosting.png\"\/><\/p>\n<p>Add the next rule:&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p><i>ErrorDocument 500 \/500.shtml<\/i><\/p>\n<p>Take note, that error code and file identify should be adjusted accordingly. For case in point, if you want to hook up 404.shtml, the rule should seem like:&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p><i>ErrorDocument 404 \/404.html<\/i><\/p>\n<p>Which is it!<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Have to have any help? Contact our HelpDesk<\/p>\n<\/div>\n<script data-ad-client=\"ca-pub-3214842754935876\" async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n","protected":false},"excerpt":{"rendered":"<p>&#038;#13 Error internet pages are displayed when a person enters a improper\/outdated URL or when a single is not approved to accessibility a unique listing&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/posts\/6294"}],"collection":[{"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/comments?post=6294"}],"version-history":[{"count":0,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/posts\/6294\/revisions"}],"wp:attachment":[{"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/media?parent=6294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/categories?post=6294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/tags?post=6294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}