Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
10 Posts 7357 Views
i have a problem with favicon.ico.
I've made a 16*16 icon and I named it favicon.ico and I've replaced it in my server's root.
I know I have to use this line code:
<link rel="shortcut icon" href="http://www.mysite.com/favicon.ico" type="image/x-icon">
but I dont know where exactly I should put it , or in wich file?
because the file mysite\code home.php does not exist <head>
I hope it can help me
I feel sorry for my English
1) Upload the favicon.ico file to the root directory: /favicon.ico.
2) Then apply ?flush=1 to your url: http://www.mysite.com/?flush=1
or Delete your browsers cache
first thank you,
I did www.mysite.com/?flush=1 on my page, and still can not get my icon appears
that may be failing?
or can I delete the cache?
again I feel sorry for my English
<link rel="shortcut icon" href="/favicon.ico" />
Should go at the top of your template SS file (e.g. Page.ss or HomePage.ss)
Replace the standard Silverstripe icon with your own in the root directory.
Clear browser cache
If you still can't see it. You need to check that your favicon is valid.
I make my icons 72x72 and save them in png24 format, then use [url]http://www.convertico.com/[/url].
thanks for all the help
I managed to appear as the icon
I saw that it works perfectly in Firefox, but IE does not have the favicon.ico
which will be the problem?
I feel sorry for my bad English
Internet Explorer will only read correctly formatted icon libraries with the extension of .ico
The software icoFX can do this for you, but having a real icon does limit you somewhat, and it doesn't support transparency.
Personally I don't care about IE users when it comes to the favicon, since over half the visitors to my site are FF users - and having a transparent icon means more to me than the few IE users.
Hope that helps.