{"id":1240,"date":"2007-07-24T08:05:57","date_gmt":"2007-07-24T12:05:57","guid":{"rendered":"http:\/\/www.allyngibson.net\/?p=1240"},"modified":"2007-07-24T08:05:57","modified_gmt":"2007-07-24T12:05:57","slug":"on-404s-and-coding","status":"publish","type":"post","link":"http:\/\/www.allyngibson.com\/?p=1240","title":{"rendered":"On 404s and Coding"},"content":{"rendered":"<p>More pointless techno-geekery!<\/p>\n<p>I hadn&#8217;t pulled a 404 report off my server in a while.  A 404 report, say you?  What&#8217;s that?  Basically, it&#8217;s a report that tells me when people tried to access pages that don&#8217;t exist on the server.  If it&#8217;s a full page, they get a message saying that the page has been exterminated and they need to get the hell of Skaro.  (No, really, they do.)  If it&#8217;s something like a graphic that&#8217;s loaded into a page, then the graphic just doesn&#8217;t show.  And that&#8217;s called a 404.<\/p>\n<p>Being the curious person that I am, I had to see&mdash;what kind of 404s were being hit?<\/p>\n<p>A <i>lot<\/i>, it turned out.<\/p>\n<p>Some of them are unavoidable, unfortunately.  There are still links out there in the interwebs&mdash;none on this website, as best I can tell&mdash;that link to pages from the old Greymatter structure, and those pages just don&#8217;t <i>exist<\/i> in that form any longer.<\/p>\n<p>But I noticed that I was seeing a lot of 404s coming from my stylesheet.  Literally hundreds a day.  At first glance, I thought it wasn&#8217;t loading for people.  So I fired up my blog, and there it was, in all of its properly rendered glory.  So, what was going on?<\/p>\n<p>There was a bad graphics link in the stylesheet, that&#8217;s what.  It&#8217;s fixed now, but I&#8217;ll pull the report again in a week or two and see if the number of 404s have dropped significantly (as they should).<\/p>\n<p>With that problem fixed, I turned my attentions to writing up a print stylesheet for the blog.  I&#8217;m a firm believer in print stylesheets&mdash;if I want to print out something, I want the <i>content<\/i>, not the nonsense like sidebars and blogrolls.  It&#8217;s just good <I>design<\/i>, because what looks good on the screen just isn&#8217;t going to work right on the page.  A sans-serif font on the screen, a serif font on the page.  Blank lines between paragraphs on screen, proper paragraph indentation on the page.<\/p>\n<p>Good design. \ud83d\ude42<\/p>\n<p>Bugs fixed, print accessibility.  It&#8217;s fun working under the hood, y&#8217;know. \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>More pointless techno-geekery! I hadn&#8217;t pulled a 404 report off my server in a while. A 404 report, say you? What&#8217;s that? Basically, it&#8217;s a report that tells me when people tried to access pages that don&#8217;t exist on the server. If it&#8217;s a full page, they get a message saying that the page has<a class=\"more-link\" href=\"http:\/\/www.allyngibson.com\/?p=1240\">Continue reading <span class=\"screen-reader-text\">&#8220;On 404s and Coding&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4095],"tags":[57,4096],"class_list":["post-1240","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-css","tag-wordpress","entry"],"_links":{"self":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts\/1240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1240"}],"version-history":[{"count":0,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts\/1240\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1240"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}