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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   4314 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