Jump to:

22979 Posts in 11815 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » IE8 and favicon

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 5621 Views
  • TerryMiddleton
    Avatar
    Community Member
    108 Posts

    IE8 and favicon Link to this post

    I'm not able to see the favicon in IE8.

    Has anyone been able to solve this little pesky problem for ie8? It works in ie7, firefox but not ie8 - weird.

    The code I have on all the pages is:

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

    Thanks for any insight,

    Terry

  • Pigeon
    Avatar
    Community Member
    243 Posts

    Re: IE8 and favicon Link to this post

    Hi TerryMiddleton,

    The <link> that you showed is the default that is in the SS Template and isn't valid XHTML (that i know of). Our trusty friend Wikipedia comes to the rescue here (http://en.wikipedia.org/wiki/Favicon#Standardization_and_implementation):

    <link rel="icon" type="image/vnd.microsoft.icon" href="/somepath/image.ico" />


    I use that for my sites and it shows in IE8... Maybe a rare example of microsoft complying to standards? Either that or because i put my favicons in the root and it finds them

    If you have an icon in the root (/favicon.ico is a file) then browsers tend to pick that up automatically.

    Make sure you have a favicon and it is where you address it, or for ease put it in the root.

    5621 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.