Jordan.J.D
Jordan.J.D

Reputation: 8113

Favicon not displaying though .ico exists

My favicon won't show even though it exists and works when visiting link directly.

HTML:

<link rel="shortcut icon" href="../assets/ico/favicon.ico">

When I use view source on Chrome and click the above link, it takes me to the favicon.

Tried:

  1. I have tried clearing cache but it did not help.
  2. Opening in IE the favicon works.

Upvotes: 0

Views: 84

Answers (4)

Black Ghost
Black Ghost

Reputation: 40

Or wait a moments and it will work correctly ! cause server refersh

Upvotes: 0

Jordan.J.D
Jordan.J.D

Reputation: 8113

I decided to clear cache, restart my browser, then tried my site again and it works fine. Thank you all who tried to help.

Upvotes: 1

Joe DeRose
Joe DeRose

Reputation: 3558

When I had this issue, I was finally able to resolve the issue by changing favicon.ico to something like favicon.ico?date=20140528. I was led that that solution by this question: How do I force a favicon refresh

Upvotes: 0

Black Ghost
Black Ghost

Reputation: 40

try this !

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

Upvotes: 0

Related Questions