Why isn't this website's favicon showing in chrome or firefox?
It is in the root of the server at http://the-irf.com/favicon.ico and is in the .ico format so it should be supported by those browsers.
Why isn't this website's favicon showing in chrome or firefox?
It is in the root of the server at http://the-irf.com/favicon.ico and is in the .ico format so it should be supported by those browsers.
Whether or not a browser will request favicon.ico by default, without it being referenced in the source, likely varies from browser to browser. If you'd like browsers to definitely use it, then include the following within the head
of the HTML:
<link rel="shortcut icon" href="http://the-irf.com/favicon.ico" />
call it explicitly
<link rel="shortcut icon" href="/favicon.ico" />
When writing a web server I came across a possible answer to this question. If chrome requests a favicon and receives a 404 Not Found response then it will no longer request it. Even if you clear your cache / hard reload it will no longer ask for it. The other answer's responses work as well as: How do I force a favicon refresh