Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Favicon not working in IE11; works in FF and Chrome

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">
like image 431
Oddjob Avatar asked Jul 11 '16 23:07

Oddjob


People also ask

Why is the favicon not working?

When you add a favicon to your site, it may not show up since your browser has 'saved' your site as one without a favicon. You need to clear the cache in your browser or use a different browser.

Why is my favicon not showing on Google?

The favicon URL must be stable (don't change the URL frequently). Google won't show any favicon that it deems inappropriate, including pornography or hate symbols (for example, swastikas). If this type of imagery is discovered within a favicon, Google replaces it with a default icon.


1 Answers

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

like image 115
ikkentim Avatar answered Sep 22 '22 23:09

ikkentim