Forum Moderators: open
<Sorry, no personal URLs.
See Terms of Service [webmasterworld.com]>
[edited by: tedster at 6:13 pm (utc) on Feb. 23, 2005]
<html>
<head>
. . .
<link rel="shortcut icon" href="/favicon.ico"/>
. . .
</head>
I just found a reference to another method of accessing favicon, namely,
<LINK REL="BOOKMARK ICON" HREF="/favicon.ico">
would bookmark icon be preferable?
Thanks in advance for any/all replies.
Jean
We are not allowed to post URL's but if it is legal, you can look at the site associated with my profile - that is my site - and see if it works on your machine --- or is this also not OK? (As you will see, it is a quilting site with free quilting patterns so I'm certainly not trying to market it here!)
Jean
[microsoft.com...]
[msdn.microsoft.com...]
Do not give up on setting a favicon appearing in your address bar and bookmarked URLs.
I assume that you are operating WinIE at a higher version that 5. Favicons will not appear in earlier versions.
The first thing to check is that you have positioned the favicon.ico image in the root of your site and that the HTML code <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" > is, at least, included within the <head></head> tags of your index.htm(l) home page.
It is preferable to position the favicon.ico file within the root directory along with your index.htm(l) page. This is the simplest positionong technique, although you could move the favicon.ico file into an image(s) folder if you really felt it necessary.
Once the positioning is out of the way, and the link rel code is inserted within the <head></head> tags, you can work on getting WinIE to render the image.
First, bookmark the page containing the favicon.ico link ref. i.e. The index.htm(l) page. Refresh the URL within the address bar and the favicon will appear.
If it does not, it is probably because you have bookmarked the page before and therefore you will need to empty the browser cache and delete the previous bookmarked page. Once you have removed all previous references to the index.htm(l) page. Go through the process of bookmarking again, refreshing, and you should see your favicon in 16x16 px glory!
God luck.
Incidentially, if you want your new favicon to appear in Safari, the Mac OSX browser, you may have to do some additional cache clearing in the users/library/safari/images folder, as Safari caches images, including favicons, there and not in the regular browser cache area. It should render fine in Netscape, Opera and other Mozilla browsers.
first i cleared all the cookies, history, etc. (just to be sure)
then i copied the favicon.ico in a map on the server:
ftp://www.mydomain.com/images/
and finally i made sure that the link in the index-page for the icon (see earlier remarks) was:
[mydomain.com...]
when i bookmarked my site, it finally appeared!