Firefox doesn't show favicon

Denis picture Denis · May 30, 2011 · Viewed 24k times · Source

I created favicon.ico file and declared it in my HTML head tag:

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

IE 8 and Opera handle it great but FireFox does not even try to load it (as I see from my Fiddler debug proxy). I've tried many different type (image/ico etc.) and href params but no luck.

What did I miss?

Answer

Zach Rattner picture Zach Rattner · May 30, 2011

Like most things in the browser, favicons (or lack thereof) are common candidates for caching.

Try clearing your browser cache.

In Mozilla Firefox, the keyboard shortcut to "Reload (override cache)" is

  • Ctrl + F5 OR
  • Ctrl + Shift + R