1

I have a html site.The issue is favicon not working in chrome but it worked well in Firefox & Safari.

Anyone can help me to get rid of this issue?

<link rel="shortcut icon" type="images/ico" 
href="http://www.example.com/images/favicon.ico" />
Philip Pittle
  • 11,821
  • 8
  • 59
  • 123
Sharmila Juliet
  • 33
  • 1
  • 1
  • 3
  • http://stackoverflow.com/questions/16375592/favicon-not-showing-up-in-google-chrome – Zeeshan Nov 17 '14 at 12:08
  • 2
    possible duplicate of [HTML favicon wont show on google chrome](http://stackoverflow.com/questions/13780402/html-favicon-wont-show-on-google-chrome) – George G Nov 17 '14 at 12:09
  • Use the solution mentioned here: http://stackoverflow.com/a/34699173/516512 – Farshid Jan 09 '16 at 21:34

3 Answers3

4

I was having exactly the same problem. Then I tried refreshing the page by doing Ctrl + Shift+ R. It worked!

Deepak
  • 3,134
  • 2
  • 24
  • 24
0

Have a look at this question: Favicon not showing up in Google Chrome

1) Clear your cache. http://support.google.com/chrome/bin/answer.py?hl=en&answer=95582 And test another browser, lets say safari. How did you import the favicon?

2) How you should add it:

Normal favicon:

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

PNG/GIF favicon:

<link rel="icon" type="image/gif" href="favicon.gif" />
<link rel="icon" type="image/png" href="favicon.png" />

3) Another thing could be the problem that chrome can't display favicons, if it's local (not uploaded to a webserver).

Community
  • 1
  • 1
Umair Ayub
  • 19,358
  • 14
  • 72
  • 146
-1
<link rel = "shortcut icon" href = "test_image.ico" type = "image/x-icon" />

Also, if your icon is too small, double the size. That worked for me when I had this issue.

Benjamin Owen
  • 608
  • 2
  • 10
  • 28