{"id":3,"date":"2005-12-14T12:40:03","date_gmt":"2005-12-14T12:40:03","guid":{"rendered":"http:\/\/www.pete.nu\/blog\/?p=3"},"modified":"2006-01-12T22:13:11","modified_gmt":"2006-01-12T22:13:11","slug":"favicon-misery-resolved","status":"publish","type":"post","link":"https:\/\/pete.nu\/blog\/2005\/12\/14\/favicon-misery-resolved\/","title":{"rendered":"Favicon misery &#8211; resolved!"},"content":{"rendered":"<p>I&#8217;ve been having trouble with this site in Internet Explorer. It loads fine in Firefox, but when I try to open it in IE, I get a nasty dialog box.<\/p>\n<p>The title is &#8220;File Download &#8211; Security Warning&#8221; and the text in the box says &#8220;Do you want to save this file?&#8221; with a load of blah blah blah and ultimately &#8220;Save&#8221; and &#8220;Cancel&#8221; buttons.<\/p>\n<p>I couldn&#8217;t find anything on Google, which is why I&#8217;m putting it here. Maybe one day it will help someone. Or maybe one day I&#8217;ll forget how I fixed it, and I&#8217;ll need this to jog my memory.<\/p>\n<p>Anyway, much investigation revealed that the culprit was the &#8220;favicon&#8221; &#8211; when I removed the line that referenced the icon, my problem went away. It smelled a little as though my problem was with mime types &#8211; I&#8217;m very insightful like that. As it turned out, I was utterly correct.<\/p>\n<p>Add the following line to the bottom of your .htaccess.<\/p>\n<p><code>AddType image\/x-icon .ico<\/code><\/p>\n<p>I understand that you can also use httpd.conf to do this somehow &#8211; one day I should sit down and figure out what this is all about.<\/p>\n<p>Wait a few minutes, clear your cache, make a cup of coffee, or stroke a rabbit. When you come back, all will be better. I hope.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been having trouble with this site in Internet Explorer. It loads fine in Firefox, but when I try to open it in IE, I get a nasty dialog box. The title is &#8220;File Download &#8211; Security Warning&#8221; and the text in the box says &#8220;Do you want to save this file?&#8221; with a load [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,2],"tags":[],"class_list":["post-3","post","type-post","status-publish","format-standard","hentry","category-computing","category-titgig"],"_links":{"self":[{"href":"https:\/\/pete.nu\/blog\/wp-json\/wp\/v2\/posts\/3","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pete.nu\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pete.nu\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pete.nu\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pete.nu\/blog\/wp-json\/wp\/v2\/comments?post=3"}],"version-history":[{"count":0,"href":"https:\/\/pete.nu\/blog\/wp-json\/wp\/v2\/posts\/3\/revisions"}],"wp:attachment":[{"href":"https:\/\/pete.nu\/blog\/wp-json\/wp\/v2\/media?parent=3"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pete.nu\/blog\/wp-json\/wp\/v2\/categories?post=3"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pete.nu\/blog\/wp-json\/wp\/v2\/tags?post=3"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}