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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

favicon.ico


Go to End


2 Posts   3917 Views

Avatar
lavergara

10 Posts

4 August 2007 at 7:54am

Is there a way to add a favicon.ico. I added the following line and it is still not showing anything
<link rel="Shortcut Icon" href="mysite/images/favicon.ico">

Avatar
Sean

Forum Moderator, 922 Posts

4 August 2007 at 3:55pm

Edited: 04/08/2007 3:58pm

Hi there,

Yes you can.

<link rel="shortcut icon" href="http://www.mysite.com/favicon.ico" type="image/x-icon">

You have to use an absolute path to the icon, in the past I tried using a relative href like 'mysite/favicon.ico' but it failed to work. I don't think it respects the <base> element on page.

Cheers,
Sean