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. Aug 11, 2011 at 10:20

1 Answer 1


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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