Favicon not working in IE11; works in FF and Chrome

Oddjob picture Oddjob · Jul 12, 2016 · Viewed 9.5k times · Source

The problem

(I have my favicon working in Firefox and Chrome already.) In Internet Explorer 11, my version, I can't seem to get the d*ng favicon to work. I have my file stored as .ico, and I have an alternate for Firefox, because you can use 64x64 .pngs in there. It shows the default icon IE has for pages.

The info

Windows Version - 10
Internet Explorer Version - 11
Icon file type - .ico

The script

<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="shortcut" type="image/x-icon" href="favicon.ico">

Answer

ikkentim picture ikkentim · Mar 18, 2019

Favicons do not work in Internet Explorer when the page is local file system file (file://...).