Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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" />

share|improve this question
Have you fixed it already? The favicon loads fine for me. – DisgruntledGoat Aug 11 '11 at 10:20
up vote 4 down vote accepted

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" />
share|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. – Bojack Aug 11 '11 at 8:37
Done and it works. Thanks! – Alex Aug 11 '11 at 13:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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