Reputation: 8113
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:
Upvotes: 0
Views: 84
Reputation: 40
Or wait a moments and it will work correctly ! cause server refersh
Upvotes: 0
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
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
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