{"id":35,"date":"2010-11-18T13:30:55","date_gmt":"2010-11-18T13:30:55","guid":{"rendered":"http:\/\/pbx.homeunix.org\/p_blog\/"},"modified":"2011-07-08T11:07:41","modified_gmt":"2011-07-08T11:07:41","slug":"setting-custom-404-file-not-found","status":"publish","type":"page","link":"http:\/\/pbx.homeunix.org\/p_blog\/setting-custom-404-file-not-found\/","title":{"rendered":"Setting custom \u201c404 File Not Found\u201d"},"content":{"rendered":"<p>You can display your original &#8220;404 File Not Found&#8221;.<\/p>\n<p><strong>1.<\/strong> Open &#8220;_dot_htaccess&#8221; file in your P_BLOG&#8217;s home directory with your favorite text editor and find the line :<\/p>\n<p># ErrorDocument 404 http:\/\/www.example.com\/your\/p_blog\/var\/index.php?id=error404<\/p>\n<p><strong>2.<\/strong> Delete &#8220;#&#8221;, and edit like this.<\/p>\n<p>ErrorDocument 404 http:\/\/your\/path\/to\/p_blog\/var\/index.php?id=error404<\/p>\n<p><strong>3.<\/strong> Lastly, save the changes and rename &#8220;_dot_htaccess&#8221; to &#8220;.htaccess&#8221;.<\/p>\n<p>&#8230; Done! Hit URI which doesn&#8217;t exist and see if it works.<\/p>\n<p>Custom messages are in \u300c\/var\/contents\/\u300d. You can use custom &#8220;401&#8221; and &#8220;403&#8221; as well.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can display your original &#8220;404 File Not Found&#8221;. 1. Open &#8220;_dot_htaccess&#8221; file in your P_BLOG&#8217;s home directory with your favorite text editor and find the line : # ErrorDocument 404 http:\/\/www.example.com\/your\/p_blog\/var\/index.php?id=error404 2. Delete &#8220;#&#8221;, and edit like this. ErrorDocument 404 http:\/\/your\/path\/to\/p_blog\/var\/index.php?id=error404 3. Lastly, save the changes and rename &#8220;_dot_htaccess&#8221; to &#8220;.htaccess&#8221;. &#8230; Done! Hit &hellip; <a href=\"http:\/\/pbx.homeunix.org\/p_blog\/setting-custom-404-file-not-found\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Setting custom \u201c404 File Not Found\u201d<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-35","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Setting custom \u201c404 File Not Found\u201d - P_BLOG Project<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/pbx.homeunix.org\/p_blog\/setting-custom-404-file-not-found\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setting custom \u201c404 File Not Found\u201d - P_BLOG Project\" \/>\n<meta property=\"og:description\" content=\"You can display your original &#8220;404 File Not Found&#8221;. 1. Open &#8220;_dot_htaccess&#8221; file in your P_BLOG&#8217;s home directory with your favorite text editor and find the line : # ErrorDocument 404 http:\/\/www.example.com\/your\/p_blog\/var\/index.php?id=error404 2. Delete &#8220;#&#8221;, and edit like this. ErrorDocument 404 http:\/\/your\/path\/to\/p_blog\/var\/index.php?id=error404 3. Lastly, save the changes and rename &#8220;_dot_htaccess&#8221; to &#8220;.htaccess&#8221;. &#8230; Done! Hit &hellip; Continue reading Setting custom \u201c404 File Not Found\u201d &rarr;\" \/>\n<meta property=\"og:url\" content=\"http:\/\/pbx.homeunix.org\/p_blog\/setting-custom-404-file-not-found\/\" \/>\n<meta property=\"og:site_name\" content=\"P_BLOG Project\" \/>\n<meta property=\"article:modified_time\" content=\"2011-07-08T11:07:41+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/pbx.homeunix.org\/p_blog\/setting-custom-404-file-not-found\/\",\"url\":\"http:\/\/pbx.homeunix.org\/p_blog\/setting-custom-404-file-not-found\/\",\"name\":\"Setting custom \u201c404 File Not Found\u201d - P_BLOG Project\",\"isPartOf\":{\"@id\":\"http:\/\/pbx.homeunix.org\/p_blog\/#website\"},\"datePublished\":\"2010-11-18T13:30:55+00:00\",\"dateModified\":\"2011-07-08T11:07:41+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/pbx.homeunix.org\/p_blog\/setting-custom-404-file-not-found\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/pbx.homeunix.org\/p_blog\/setting-custom-404-file-not-found\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/pbx.homeunix.org\/p_blog\/setting-custom-404-file-not-found\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/pbx.homeunix.org\/p_blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Setting custom \u201c404 File Not Found\u201d\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/pbx.homeunix.org\/p_blog\/#website\",\"url\":\"http:\/\/pbx.homeunix.org\/p_blog\/\",\"name\":\"P_BLOG Project\",\"description\":\"Simple &amp; W3C-Valid Log System\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/pbx.homeunix.org\/p_blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Setting custom \u201c404 File Not Found\u201d - P_BLOG Project","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/pbx.homeunix.org\/p_blog\/setting-custom-404-file-not-found\/","og_locale":"en_US","og_type":"article","og_title":"Setting custom \u201c404 File Not Found\u201d - P_BLOG Project","og_description":"You can display your original &#8220;404 File Not Found&#8221;. 1. Open &#8220;_dot_htaccess&#8221; file in your P_BLOG&#8217;s home directory with your favorite text editor and find the line : # ErrorDocument 404 http:\/\/www.example.com\/your\/p_blog\/var\/index.php?id=error404 2. Delete &#8220;#&#8221;, and edit like this. ErrorDocument 404 http:\/\/your\/path\/to\/p_blog\/var\/index.php?id=error404 3. Lastly, save the changes and rename &#8220;_dot_htaccess&#8221; to &#8220;.htaccess&#8221;. &#8230; Done! Hit &hellip; Continue reading Setting custom \u201c404 File Not Found\u201d &rarr;","og_url":"http:\/\/pbx.homeunix.org\/p_blog\/setting-custom-404-file-not-found\/","og_site_name":"P_BLOG Project","article_modified_time":"2011-07-08T11:07:41+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/pbx.homeunix.org\/p_blog\/setting-custom-404-file-not-found\/","url":"http:\/\/pbx.homeunix.org\/p_blog\/setting-custom-404-file-not-found\/","name":"Setting custom \u201c404 File Not Found\u201d - P_BLOG Project","isPartOf":{"@id":"http:\/\/pbx.homeunix.org\/p_blog\/#website"},"datePublished":"2010-11-18T13:30:55+00:00","dateModified":"2011-07-08T11:07:41+00:00","breadcrumb":{"@id":"http:\/\/pbx.homeunix.org\/p_blog\/setting-custom-404-file-not-found\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/pbx.homeunix.org\/p_blog\/setting-custom-404-file-not-found\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/pbx.homeunix.org\/p_blog\/setting-custom-404-file-not-found\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/pbx.homeunix.org\/p_blog\/"},{"@type":"ListItem","position":2,"name":"Setting custom \u201c404 File Not Found\u201d"}]},{"@type":"WebSite","@id":"http:\/\/pbx.homeunix.org\/p_blog\/#website","url":"http:\/\/pbx.homeunix.org\/p_blog\/","name":"P_BLOG Project","description":"Simple &amp; W3C-Valid Log System","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/pbx.homeunix.org\/p_blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"http:\/\/pbx.homeunix.org\/p_blog\/wp-json\/wp\/v2\/pages\/35","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/pbx.homeunix.org\/p_blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/pbx.homeunix.org\/p_blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/pbx.homeunix.org\/p_blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/pbx.homeunix.org\/p_blog\/wp-json\/wp\/v2\/comments?post=35"}],"version-history":[{"count":7,"href":"http:\/\/pbx.homeunix.org\/p_blog\/wp-json\/wp\/v2\/pages\/35\/revisions"}],"predecessor-version":[{"id":247,"href":"http:\/\/pbx.homeunix.org\/p_blog\/wp-json\/wp\/v2\/pages\/35\/revisions\/247"}],"wp:attachment":[{"href":"http:\/\/pbx.homeunix.org\/p_blog\/wp-json\/wp\/v2\/media?parent=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->