Forum Moderators: open

Message Too Old, No Replies

Where does favicon.ico go?

         

Jonathan

8:04 pm on Feb 8, 2002 (gmt 0)

10+ Year Member



I made an icon with IconForge. Saved it as favicon.ico and added it to the main dir on my website.

After adding my website to my favorites, I noticed the icon appears.. but only on the main page. Is there something else that I need to do, for the favicon to appear on all the pages? Or is this not possible?

EliteWeb

8:06 pm on Feb 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



add this to all your pages in the code:

<LINK REL="SHORTCUT ICON" HREF="/images/favicon.ico">

or whatever the path to the ico file is @ works for me.

mivox

8:07 pm on Feb 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Odd... I heard IE first requested favicon in the current directory, and if it's not found it requests from root. Has this changed?

Brett_Tabke

8:30 pm on Feb 8, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



You are correct Mivox, but there are really two things at work with Favicons.

- The action when the site is bookmarked.
o first requests the icon in the current directory, and then if not found, the root.
o the icon on the address bar only shows when you visit the bookmarked page.

- The icon in the Address bar.
o you have to have the icon short cut tag to show in the address bar on all pages at your site. Otherwise, the icon switches back to the ie paper icon when you move off the bookmarked page.

Xoc

10:48 pm on Feb 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not only that, if you clear the browser cache, the icon goes away. Not terribly useful.