Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Browser doesn't show favicon.ico, but it exists

Tags:

html

favicon

web

My site is http://belhimplast.by/en/ I made a favicon for it. In the head I have:

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

I can see the favicon.ico using the URL http://belhimplast.by/favicon.ico

But any browser doesn't show it. Help, please.

like image 807
124bit Avatar asked Sep 30 '13 22:09

124bit


People also ask

Why is my favicon not showing up on Google search?

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.


5 Answers

Browser will load from cached data. Try updating your call to force an update via. new file-name.

<link rel="shortcut icon" href="/favicon.ico?v=2" type="image/x-icon">
like image 129
Po Rith Avatar answered Oct 14 '22 23:10

Po Rith


I see it used as icon when I browse to your page.

If you have visited your page before (duh!) it's likely because the browsers remember that there wasn't any icon there before, and don't update it right away. Browsers remember the icons for different sites, so that they don't have to request it every time that the site name is shown (for example in the bookmarks or the history).

Also, it's not guaranteed that every user sees the favicon, some browsers simply doesn't display some icons sometimes, for no apparent reason.

like image 20
Guffa Avatar answered Oct 14 '22 21:10

Guffa


I had the same problem. This is my favicon tag:

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

Don't forget close it.

I cleaned browser cache, but it didn't fixed a problem.

I saw my favicon just after Chrome and Firefox restart. In my opinion, it's a strange hard browser caching

like image 35
Antonio Avatar answered Oct 14 '22 22:10

Antonio


Takeaway from the Rest of the Similar Posts

It is Important to Close ALL the Windows for the Browser You Are Testing against and Start It Fresh to See the Change Happen. (Doesn't Work on Edge)

Aside Notes

I have stumbled upon this issue myself. After researching other answers, there are many suggestions to fix it.

Some people can't rid of the old icon: How to clear the icon cache of Chromium browser

Others wanted to force refresh: How do I force a favicon refresh

like image 34
Kirill Novik Avatar answered Oct 14 '22 23:10

Kirill Novik


Before doing anything, check your website in the browserling. If the favicon displayed there, you don't need to do anything further. At that moment, your browser decided to go crazy!

like image 36
Ayub Avatar answered Oct 14 '22 21:10

Ayub