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

I'm using a .png favicon file and it is not showing up on my site.

Doing a grep, I see the following in home.htm which looks right for me(I have also confirmed it's in the HEAD section within home.htm):

home.htm: <link rel="shortcut icon" type="image/png" href="favicon.png">

The favicon.png file is in the same directory as the home.html file.

Any suggestions are welcome! Thanks all.

In case the file info is revealing for anyone, I'll attach it here: enter image description here

share|improve this question

migrated from serverfault.com Feb 17 '11 at 5:14

This question came from our site for system and network administrators.

Apache? Nginx? Lighttpd? – MarkM Feb 16 '11 at 23:32
LAMP stack. I wouldn't expect the versions matter, but if they do, I can provide that. – Russ Feb 16 '11 at 23:38
I'm not sure that browsers look for favicons real time - I think they may cache the results. I added one to a site recently and refreshed and diddled with everything - nothing worked. Then someone else told me they saw the favicon - I go and check and boom it's there. – Knox Feb 16 '11 at 23:39
Hmm... that's helpful feedback. Maybe I already have it correct. I'll try clearing my browser cache. – Russ Feb 16 '11 at 23:43
I cleared the cache in both Firefox and IE and still don't see the favicon. That was a good point though. – Russ Feb 16 '11 at 23:55
up vote 1 down vote accepted

I'll ad my voice to the chorus and say the problem is that it's not in ICO format. Take a look here for a Photoshop plug-in: http://www.telegraphics.com.au/svn/icoformat/trunk/dist/README.html

share|improve this answer
Yes, I did try an .ico and that worked. I'm not sure what the issue is with the .png or the link directive I had set for it. I made the .png in photoshop but didn't use any plugins for it. I would still like to be able to use the .png format so I know how. The .ico I made was with IcoFx(16x16-True Color). – Russ Feb 17 '11 at 17:16

Not all browsers support showing png type of favicon. You may want to check the wiki page for support table.


share|improve this answer
You're right. I should have noted originally that I am using Firefox and the version of IE I am using is newer and also supports png's – Russ Feb 16 '11 at 23:46

You've checked that the file does actually exist, and that's about all you can do besides wait. Browsers are very fickle about grabbing and updating favicons. It'll show up eventually.

share|improve this answer

Check this page out (http://ma.tt/2003/11/how-to-create-a-favicon/) its what i use to create favicons had the same issue as you with regard to png files now just stick with ico.

share|improve this answer
Thanks. It seems like .ico is the way to go. I appreciate your reply. – Russ Feb 17 '11 at 17:17

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.