Industry guru Dave Taylor answers free tech support questions about a wide variety of business and technical topics, including blogging, Google AdSense, MySpace, Sony PSP, Apple iPod, Mp3 players, management, Linux, SEO, Mac OS X, Facebook, Twitter, LinkedIn and Microsoft Windows.

Why aren't my favicons displayed?

Hello Dave, I work on Mac OS X and I have been trying to add a favicon.ico to my website's address bar, only to find that it only shows when I open it with Netscape or Firefox, all the other browsers like Safari and Explorer don't seem to recognize it.... Can you help?? It is driving me mad...


Dave's Answer:

Thanks for your note. I went through this same hassle when I added a favicon.ico to some of my sites after having them up and live for months on end. The basic problem is that browsers cache the favicons and never seem to check if the site has a new icon (or has gone from a generic or missing icon to one that's actually specified).

The easiest way to try and fix things is to choose "Empty Cache..." from the Safari menu in Apple's Safari browser, but it's pretty unlikely that'll work because, well, it's just too darn easy. Fortunately, I've already addressed this issue with Safari in two related articles: selectively removing Safari favicons from your cache and Why doesn't Safari show me favicons?. Read those two, they'll show you how to fix Safari to show your icons, I'm sure.

Getting Microsoft Internet Explorer for Mac happy is a different subject. From all I can tell, MSIE only grabs the favicon.ico graphic if you bookmark the site. Otherwise it just uses the generic icon that's used for every other Web site on the net.

Just for good luck, you are using the right format for your favicon too, right? There are two approaches. The basic one is:

<link rel="shortcut icon" 
  href="http://www.askdavetaylor.com/favicon.ico"></link>

but if you don't want to monkey with the ".ico" graphics format, it turns out that other common Web graphics formats are supported, including GIF, JPEG and PNG. To use one of those, specify the "MIME" filetype:

<link rel="shortcut icon" type="image/x-png"
  href="http://www.askdavetaylor.com/favicon.png"></link>

I hope that helps you out and gets everything working as you want!



Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Simpy.

Subscribe!

Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.

Comments

When checking my stats I've notice that quite a lot of thieves are downloading my entire web pages to their local hard drives. Does this increase my bandwidth use? And is there way to stop them from doing this? I have their IP address but don't know what to do with it.

Posted by: David Holmes at April 26, 2007 11:23 AM

I have a lot to say, but ...
Starbucks coffee cup I have a lot to say, and questions of my own for that matter, but most of all I'd like to say thank you for all your efforts on this Web site by buying you a chai!

I do have a comment, now that you mention it!









Remember personal info?


Please note that I will never send you any unsolicited commercial email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.









Uniblue: Free Virus Scan

Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.


Help!





Subscribe to
Ask Dave Taylor!

Add to Google Reader
Add to My Yahoo!
Subscribe in NewsGator Online

RDF   XML

Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.


Recent Entries
Join the List!
Join my author info mailing list, where you'll learn about my upcoming books, speaking gigs, and more!


Book Links
© 2002 - 2008 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]