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.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

problem with favicon.ico


Go to End
Reply


10 Posts   7402 Views

Avatar
Rube_25

Community Member, 36 Posts

1 October 2008 at 11:45am

hi everybody

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
rube

Avatar
grilldan

Community Member, 135 Posts

1 October 2008 at 12:11pm

Try this:

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

Avatar
Rube_25

Community Member, 36 Posts

1 October 2008 at 2:45pm

Edited: 01/10/2008 2:47pm

hi grilldan.

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?

rube.
   
again I feel sorry for my English

Avatar
Double-A-Ron

Community Member, 604 Posts

1 October 2008 at 4:25pm

Edited: 01/10/2008 4:26pm

<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

Refresh

If you still can't see it. You need to check that your favicon is valid.

Aaron

Avatar
grilldan

Community Member, 135 Posts

1 October 2008 at 5:59pm

I make my icons 72x72 and save them in png24 format, then use [url]http://www.convertico.com/[/url].

Avatar
Rube_25

Community Member, 36 Posts

2 October 2008 at 2:37am

   
thanks for all the help

I managed to appear as the icon

rube.

Avatar
Rube_25

Community Member, 36 Posts

2 October 2008 at 11:50am

Edited: 02/10/2008 11:51am

again hello

I saw that it works perfectly in Firefox, but IE does not have the favicon.ico

   
which will be the problem?

thanks
Rube
I feel sorry for my bad English

Avatar
Matt Hardwick

Community Member, 61 Posts

4 October 2008 at 12:24pm

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.

Go to Top