{"id":26,"date":"2009-08-15T03:44:34","date_gmt":"2009-08-15T03:44:34","guid":{"rendered":"http:\/\/www.adriangrigoras.com\/blog\/?p=26"},"modified":"2009-08-15T03:44:34","modified_gmt":"2009-08-15T03:44:34","slug":"send-error-404-page-not-found-from-apache","status":"publish","type":"post","link":"https:\/\/adriangrigoras.com\/blog\/send-error-404-page-not-found-from-apache\/","title":{"rendered":"Send Error 404 Page not found from Apache"},"content":{"rendered":"<p>If you want to set an error page which will be shown everytime a user tries to access something that isn&#8217;t on your server, the best way to do this is from Apache configuration. All you have to do is to insert the following line into httpd.conf or other configuration file.<\/p>\n<blockquote>\n<address><span style=\"font-family: arial; font-size: 13px;\">ErrorDocument 404<span> <\/span>http:\/\/domain.com\/404_friendly_error_page.htm<\/span><\/address>\n<\/blockquote>\n<p><span style=\"font-family: arial; font-size: 13px;\">Cheers,<br \/>\n<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to set an error page which will be shown everytime a user tries to access something that isn&#8217;t on your server, the best way to do this is from Apache configuration. All you have to do is to insert the following line into httpd.conf or other configuration file. ErrorDocument 404 http:\/\/domain.com\/404_friendly_error_page.htm Cheers,<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-26","post","type-post","status-publish","format-standard","hentry","category-apache"],"_links":{"self":[{"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/posts\/26","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/comments?post=26"}],"version-history":[{"count":0,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/posts\/26\/revisions"}],"wp:attachment":[{"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/media?parent=26"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/categories?post=26"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/tags?post=26"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}