2

Is there a reason why a favicon.ico is not showing in Safari 5.1 on Mac? It shows on every other browser I have tested except the above mentioned one. In Safari on Windows it shows.

I've declared it like this:
<link rel="shortcut icon" href="http://www.mysite.com/favicon.ico" />

  • Have you fixed it already? The favicon loads fine for me. – DisgruntledGoat Aug 11 '11 at 10:20
4

Assuming that Safari on Mac is showing favicons for other websites (try any stackexchange website), you probably need to clear the browser cache.

Also, try adding a random number (using JS or Server-script like PHP) to your favicon reference, like below:

EDIT- Also, add type attribute and try again? (see below)

<!-- FAVICON -->
        <link 
        rel = "shortcut icon" 
        type = "image/x-icon" 
        href = "http://www.dixitsolutions.com/favicon.ico?23189123" />
| improve this answer | |
  • Clearing the cache was the first thing I did. It still doesn't work. – Alex Aug 11 '11 at 7:07
  • Try adding the type attribute, check the edited answer. – n a Aug 11 '11 at 8:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.