{"id":398,"date":"2015-06-29T17:37:59","date_gmt":"2015-06-29T17:37:59","guid":{"rendered":"https:\/\/www.eskimo.com\/support\/?page_id=398"},"modified":"2015-07-15T01:19:54","modified_gmt":"2015-07-15T01:19:54","slug":"custom-errors","status":"publish","type":"page","link":"https:\/\/www.eskimo.com\/support\/web-space\/custom-errors\/","title":{"rendered":"Custom Errors"},"content":{"rendered":"<p style=\"text-align: center;\"><span style=\"font-family: arial,helvetica,sans-serif; font-size: 20pt; color: #008000;\">Custom Errors<\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif; font-size: 10pt;\">\u00a0<span style=\"font-size: 12pt;\">\u00a0\u00a0\u00a0 Often it is desirable to provide a custom error pages for pages that <\/span><\/span><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12pt;\">aren&#8217;t found or for which the user is denied permission to access.<\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><span style=\"font-family: arial,helvetica,sans-serif;\">\u00a0\u00a0\u00a0\u00a0 You can do this with simple directives placed in a <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">&#8220;<strong>.htaccess<\/strong>&#8221; file in your &#8220;public_html&#8221; directory.<\/span><\/span><\/p>\n<pre>     ErrorDocument 401 \/~login\/401.html\r\n     ErrorDocument 404 \/~login\/404.html\r\n<\/pre>\n<p><span style=\"font-size: 12pt;\"><span style=\"font-family: arial,helvetica,sans-serif;\">\u00a0\u00a0\u00a0\u00a0 The 401 document is a web page to be displayed if a user attempts to <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">view a document to which they do not have permission. The 404 document is <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">a web page to be displayed if a requested document is not found.<\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Custom Errors \u00a0\u00a0\u00a0\u00a0 Often it is desirable to provide a custom error pages for pages that aren&#8217;t found or for which the user is denied permission to access. \u00a0\u00a0\u00a0\u00a0 You can do this with simple directives placed in a &#8220;.htaccess&#8221; &hellip; <a href=\"https:\/\/www.eskimo.com\/support\/web-space\/custom-errors\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":377,"menu_order":0,"comment_status":"open","ping_status":"open","template":"showcase.php","meta":{"footnotes":""},"class_list":["post-398","page","type-page","status-publish","hentry","wpautop"],"_links":{"self":[{"href":"https:\/\/www.eskimo.com\/support\/wp-json\/wp\/v2\/pages\/398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.eskimo.com\/support\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.eskimo.com\/support\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.eskimo.com\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.eskimo.com\/support\/wp-json\/wp\/v2\/comments?post=398"}],"version-history":[{"count":0,"href":"https:\/\/www.eskimo.com\/support\/wp-json\/wp\/v2\/pages\/398\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.eskimo.com\/support\/wp-json\/wp\/v2\/pages\/377"}],"wp:attachment":[{"href":"https:\/\/www.eskimo.com\/support\/wp-json\/wp\/v2\/media?parent=398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}