{"id":438,"date":"2007-09-18T08:15:46","date_gmt":"2007-09-18T13:15:46","guid":{"rendered":"https:\/\/lillicotch.com\/Blog\/2007\/09\/18\/ideas-for-creating-a-custom-404-error-page\/"},"modified":"2007-09-18T08:15:46","modified_gmt":"2007-09-18T13:15:46","slug":"ideas-for-creating-a-custom-404-error-page","status":"publish","type":"post","link":"https:\/\/www.lillicotch.com\/Blog\/ideas-for-creating-a-custom-404-error-page\/","title":{"rendered":"Ideas For Creating A Custom 404 Error Page"},"content":{"rendered":"<p>In case anyone doesn&#8217;t know the <a href=\"http:\/\/en.wikipedia.org\/wiki\/404_error\" target=\"_blank\">404 Error page<\/a> is the page you get when a visitor types in an address or clicks a link that is not there. It could be a page that&#8217;s been moved, deleted or was never there in the first place.<\/p>\n<p>Most sites still have a generic error message that is assigned by their server that just says &#8220;404 Error: File Not Found&#8221;. Many people don&#8217;t realize that you can have any page be the one that shows up when your visitors gets a 404 Error. I have a <a href=\"https:\/\/lillicotch.com\/Error.html\">simple custom 404 Error page<\/a>.<\/p>\n<p>On Apache servers this process is controlled by a file called htaccess.<br \/>\nNote: There is a &#8220;.&#8221; before the htaccess, but Word Press won&#8217;t allow this word on my blog.<\/p>\n<p>This is a file which controls security and all error messages, but this post is about the 404 Error.<\/p>\n<p>To make a Custom Error Page you first create your HTML error page. I recommend that you have a link to or search for all of your other pages.<\/p>\n<p>Create a plain text file and name  it *htaccess (replace* with .) The text in your document will be&#8230;<br \/>\nErrorDocument 404 \/Error.html<\/p>\n<p>where Error.html is the name of your error page and it is in the same directory as htaccess.<\/p>\n<p>If you place these files in your root directory they will work for your entire site or they will also work on a folder by folder basis.<\/p>\n<p>You can also have a cool, funny, or beautiful error page. There&#8217;s a post on Smashing Magazine called &#8220;404,Design,Error,inspiration,Navigation,Design Showcase.&#8221; There are some really great 404 Error Pages here.<\/p>\n<h3><a href=\"http:\/\/www.smashingmagazine.com\/2007\/08\/17\/404-error-pages-reloaded\/?\" target=\"_blank\">More&#8230;<\/a><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>In case anyone doesn&#8217;t know the 404 Error page is the page you get when a visitor types in an address or clicks a link that is not there. It could be a page that&#8217;s been moved, deleted or was never there in the first place. Most sites still have a generic error message that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,2],"tags":[31,15],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.lillicotch.com\/Blog\/wp-json\/wp\/v2\/posts\/438"}],"collection":[{"href":"https:\/\/www.lillicotch.com\/Blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lillicotch.com\/Blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lillicotch.com\/Blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lillicotch.com\/Blog\/wp-json\/wp\/v2\/comments?post=438"}],"version-history":[{"count":0,"href":"https:\/\/www.lillicotch.com\/Blog\/wp-json\/wp\/v2\/posts\/438\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lillicotch.com\/Blog\/wp-json\/wp\/v2\/media?parent=438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lillicotch.com\/Blog\/wp-json\/wp\/v2\/categories?post=438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lillicotch.com\/Blog\/wp-json\/wp\/v2\/tags?post=438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}