SP2010 Branding Tip #4 – Easily show a Favicon in SharePoint 2010 5

If you aren’t aware of what favicons are, they are the little icon that appears in the corner of the address bar of your browser and along with your bookmarks. Here is a shot of SharePoint911’s favicon:

image

Its really a minor thing, but it makes a surprisingly big impact on a branded page. In SharePoint 2007 we had to mess around with the typical HTML tag for the favicon:

<link rel="shortcut icon" href="/Style Library/sp911/favicon.ico" />

But, in SharePoint 2010 there is a special control for adding favicons:

<SharePoint:SPShortcutIcon runat="server" IconUrl="/Style Library/sp911/favicon.ico"/>

Ok, sure its technically more typing, but since its a control you can easily use things like $SPUrl to help with the paths.

5 thoughts on “SP2010 Branding Tip #4 – Easily show a Favicon in SharePoint 2010

  1. Reply Anonymous Nov 18,2009 8:34 am

    utegulsenny
    rp5d

  2. Reply Dan Jun 15,2010 2:05 pm

    I’ve tried several ways to change the favicon (even replacing the default to the one I want), and still nogo – keeps showing the default favicon.

  3. Reply Randy Drisgill Jun 15,2010 2:09 pm

    Be careful because IE sometimes caches the heck out of the favicon state. Make sure you make a new bookmark and clear the cache and close and open IE. Firefox sometimes is easier.

  4. Reply Dan Jun 15,2010 2:49 pm

    That’s what I had to do – just coming back out here to say nevermind. I had to kill the cache on both my PC and the sharepoint server, but now it’s showing up. Thanks!

  5. Reply banoz Aug 31,2010 10:50 am

    I tried all the above, and found that nothing worked. I’m a newbie on SharePoint so that doesn’t mean the actual coding is wrong. 🙂 I did find a workaround though, which didn’t involve messing around with coding. I simply replaced the default SharePoint favicon.ico with my own favicon.ico. It worked straight away and also worked on other icons used within the SharePoint site.

    The icons used for all aspects of SharePoint were located in the following folder:

    Program FilesCommon FilesMicrosoft SharedWeb Server Extensions14TEMPLATEIMAGES

    Hope this might come of use to someone else. 🙂

Leave a Reply