Favicon not appearing in IE but OK in FF

Discussion in 'HTML & Website Design' started by obenix, Oct 10, 2005.

  1. #1
    Yup. Something strange is happening to one of my new sites. The favicon is not appearing in IE but it appears in FF...
    I've cleared my IE cache and reload the page but still does not work..
    Can someone help, please?
     
    obenix, Oct 10, 2005 IP
  2. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #2
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />

    Have you included this?
     
    SEbasic, Oct 10, 2005 IP
  3. DomainMagnate

    DomainMagnate Illustrious Member

    Messages:
    10,932
    Likes Received:
    1,022
    Best Answers:
    0
    Trophy Points:
    455
    #3
    I have the same problem, the favicon only appears in firefox..
    So where exactly should this line be added?

    thanks
     
    DomainMagnate, Oct 10, 2005 IP
  4. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #4
    In the head of your HTML documents.
     
    SEbasic, Oct 10, 2005 IP
  5. obenix

    obenix Eats an apple a day......

    Messages:
    2,236
    Likes Received:
    180
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I have this in the <head> of my HTML...
    <link rel="shortcut icon" href="http://www.mysite.com/images/favicon.ico" />
    Code (markup):
    Do I need to include the [type="image/x-icon"] code?
     
    obenix, Oct 10, 2005 IP
    DomainMagnate likes this.
  6. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I believe so...
     
    SEbasic, Oct 10, 2005 IP
  7. obenix

    obenix Eats an apple a day......

    Messages:
    2,236
    Likes Received:
    180
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I took a bit of time researching... Here are the result for curious webmasters.

    It is apparent that IE is not behaving well with the <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> command. Even after hard refresh or clearing the cache would not help in some instances.

    In the majority of instances, the favicon will appear after you have bookmarked the page. Yes, to test, bookmark you page and you will see your favicon in your "Favorites" and subsequent viewing on the site.

    Another thing that you should be aware of: ensure that a copy of the favicon.ico file is available in the root directory.
     
    obenix, Oct 10, 2005 IP
  8. SEbasic

    SEbasic Peon

    Messages:
    6,317
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Yeah sorry I should have mentioned, ie looks for a favicon in the root directory - whether or not it has been linked to.
     
    SEbasic, Oct 11, 2005 IP