Results 1 to 2 of 2

Thread: favicon.ico does not work in IE8

  1. #1
    JAA149 Guest

    favicon.ico does not work in IE8

    Hi all,

    Just sarted learning (X)HTML and really stuck on this little issue for a week now. Have spend countless hours on this but no answer. Hope you gurus can help.

    I am been trying to add a favicon to my web site. The problem is that it shows in Firefox but not in IE8. Here are the steps I took. Please bear with me as I am new and going to list all the steps.

    1 - Registered with a free hosting service http://www.000webhost.com/
    2 - Made my web site as http://jawadasghar.site11.com/
    3 - Alternatively the site address is also given as http://www.jawadasghar.site11.com/
    4 - There is a directory in the root directory called public_html
    4 - Made an (X)HTML file as index.html and placed it in the public_html folder. BUT i do not know what is the path? Is it..
    a - http://jawadasghar.site11.com/public_html/index.html/
    b - http://www.jawadasghar.site11.com/pu...ml/index.html/
    5 - Made a valid .ico file as favicon.ico. It is is a blinking "JJ"
    6 - Now when I place the favicon.ico file in the public_html folder, the icon shows in Firefox3.5.5 but not in IE8. Also by placing the favicon.ico file in the rrot directory and removing it from the public_html folder, it does not work neither in Firefox or IE.
    7 - If I try to put a html code in the index.html file as
    a - <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    It does not work. I have tried every thing. Deleting cache files, deleting TIF(Temp Internet Files) but nothing seems to work to show the favicon in IE 8. I have also tried all the variations as well as HTML snippet but nada.

    Any body have any idea?

    Regards

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    Quote Originally Posted by JAA149 View Post
    Hi all,


    4 - Made an (X)HTML file as index.html and placed it in the public_html folder. BUT i do not know what is the path? Is it..
    a - http://jawadasghar.site11.com/public_html/index.html/
    b - http://www.jawadasghar.site11.com/pu...ml/index.html/
    It could be just www or both; it depends on how your website is set up. I expect it is both.

    5 - Made a valid .ico file as favicon.ico. It is is a blinking "JJ"
    6 - Now when I place the favicon.ico file in the public_html folder, the icon shows in Firefox3.5.5 but not in IE8. Also by placing the favicon.ico file in the rrot directory and removing it from the public_html folder, it does not work neither in Firefox or IE.
    7 - If I try to put a html code in the index.html file as
    a - <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    It does not work. I have tried every thing. Deleting cache files, deleting TIF(Temp Internet Files) but nothing seems to work to show the favicon in IE 8. I have also tried all the variations as well as HTML snippet but nada.
    The favicon.ico should go into the public_html folder. I think most people regard the public_html directory as the root directory as far as your website is concerned. In addition you can add a link in the head section of every page (There must always be a favicon in the root directory and then you can have a different one also with .ico extension in the head section if you want):-
    <link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
    or change the path if the file is in a sub-directory.

    In addition to clearing the cache in IE8 I expect you have to clear the History as well. If it doesn't work through IE8 Tools, try it by Highlighting Favorits and right-click and delete all entries like Today, Yesterday, etc. Also delete any Favorit bookmarks you have to your site and set them again later.
    Last edited by Wickham; 08 Nov 2009 at 01:07 AM.
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Similar Threads

  1. Replies: 0
    Last Post: 30 Mar 2009, 04:16 PM
  2. Acewebsites looking for Web Designers / Developers for ongoing contract work
    By Acewebsites in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 28 Dec 2006, 02:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •