{"id":269,"date":"2016-06-17T16:00:39","date_gmt":"2016-06-17T16:00:39","guid":{"rendered":"http:\/\/cloudhost.com.ng\/blog\/?p=269"},"modified":"2016-06-17T16:00:39","modified_gmt":"2016-06-17T16:00:39","slug":"creating-custom-error-pages","status":"publish","type":"post","link":"https:\/\/cloudhost.com.ng\/blog\/creating-custom-error-pages\/","title":{"rendered":"Creating Custom Error Pages"},"content":{"rendered":"<p><a href=\"http:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-43.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter  wp-image-275\" src=\"http:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-43.png\" alt=\"Screenshot (43)\" width=\"743\" height=\"364\" srcset=\"https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-43.png 833w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-43-300x147.png 300w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-43-768x376.png 768w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-43-624x306.png 624w\" sizes=\"(max-width: 743px) 100vw, 743px\" \/><\/a><\/p>\n<p>You may have come across something similar to\u00a0the image above on your browser a few times. Now, that is an error page. Error pages inform visitors about problems when they try to access your website. For each problem, there exists its own particular status code and error page. We have various error codes but the most common ones are\u00a0400,403,\u00a0404 and 500.<\/p>\n<ul>\n<li>400 &#8211; error code for <strong>Bad Request<\/strong>. This tells the user that the inputed request has been malformed or contains incorrect syntax.<\/li>\n<li>403 &#8211; error code for\u00a0<strong>Forbidden.\u00a0<\/strong>This tells the user that access to the requested file has been denied.<\/li>\n<li>404 &#8211; error code for <strong>Not Found<\/strong>. This informs the visitor that the requested page does not exist.<\/li>\n<li>500 &#8211; error code for <strong>Internal Server Error.\u00a0<\/strong>This occurs when the server experiences an unexpected condition and the server cannot get specific information about the problem.<\/li>\n<\/ul>\n<p>You can create your own custom error pages for your account using the Error Pages interface on the cPanel now. Let&#8217;s get started.<\/p>\n<ol>\n<li>Log into your cPanel account.<\/li>\n<li>Under the <strong>Advanced<\/strong> section, click on the <strong>Error Pages<\/strong> icon.<a href=\"http:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-44-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-271\" src=\"http:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-44-1.png\" alt=\"Screenshot (44)\" width=\"515\" height=\"188\" srcset=\"https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-44-1.png 515w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-44-1-300x110.png 300w\" sizes=\"(max-width: 515px) 100vw, 515px\" \/><\/a><\/li>\n<li>A new page will load.<a href=\"http:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-45.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-272\" src=\"http:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-45.png\" alt=\"Screenshot (45)\" width=\"776\" height=\"577\" srcset=\"https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-45.png 776w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-45-300x223.png 300w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-45-768x571.png 768w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-45-624x464.png 624w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-45-200x150.png 200w\" sizes=\"(max-width: 776px) 100vw, 776px\" \/><\/a>Here, you will select the domain for which you want to edit the error code in the <strong>Managing<\/strong> menu.<\/li>\n<li>Then click on <strong>Show All HTTP Error Status Codes<\/strong> button to view all the available codes and select the error page you want to edit.<\/li>\n<li>A new page is displayed and here, you will customize the HTML on the page. You may also enter the tags already there.<a href=\"http:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-46.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-274\" src=\"http:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-46.png\" alt=\"Screenshot (46)\" width=\"778\" height=\"450\" srcset=\"https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-46.png 778w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-46-300x174.png 300w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-46-768x444.png 768w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-46-624x361.png 624w\" sizes=\"(max-width: 778px) 100vw, 778px\" \/><\/a>\n<ul>\n<li><strong>Referring URL<\/strong>: displays the URL of the website the visitor was previously on.<\/li>\n<li><strong>Visitor&#8217;s IP address<\/strong>: displays the IP address of the visitor viewing your site.<\/li>\n<li><strong>Requested URL<\/strong>: displays the URL the visitor is trying to access.<\/li>\n<li><strong>Server Name<\/strong>: displays the name of the server.<\/li>\n<li><strong>Visitor&#8217;s Browser<\/strong>: displays the type of browser the visitor is using.<\/li>\n<li><strong>Redirect Status Code<\/strong>: displays the type of error code such as 404, or 500.<\/li>\n<\/ul>\n<\/li>\n<li>When you are done, you can now click\u00a0<strong>Save a<\/strong>nd you are done.<a href=\"http:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-47.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-273\" src=\"http:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-47.png\" alt=\"Screenshot (47)\" width=\"776\" height=\"259\" srcset=\"https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-47.png 776w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-47-300x100.png 300w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-47-768x256.png 768w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-47-624x208.png 624w\" sizes=\"(max-width: 776px) 100vw, 776px\" \/><\/a><\/li>\n<\/ol>\n<p style=\"padding-left: 30px\">\n<p style=\"padding-left: 30px\">Join us at <a href=\"http:\/\/cloudhost.com.ng\">CloudHost<\/a> to host your website and enjoy many other <a href=\"http:\/\/cloudhost.com.ng\">services<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may have come across something similar to\u00a0the image above on your browser a few times. Now, that is an error page. Error pages inform visitors about problems when they try to access your website. For each problem, there exists its own particular status code and error page. We have various error codes but the [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"yst_prominent_words":[],"class_list":["post-269","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/269"}],"collection":[{"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/comments?post=269"}],"version-history":[{"count":3,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/269\/revisions"}],"predecessor-version":[{"id":278,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/269\/revisions\/278"}],"wp:attachment":[{"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/media?parent=269"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/categories?post=269"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/tags?post=269"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/yst_prominent_words?post=269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}