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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Favicon Not Updating


5 Posts   189 Views


26 May 2014 at 9:27am Community Member, 37 Posts

I'm trying to get my favicon.ico to show up. The website is

I have ensured the I am using a properly formatted favicon.ico and I have tested it on the following server, It worked there without problems. On the new website, I have uploaded the favicon to the root folder of the website, I have cleared my cash and I have also did ?flush=1

I have downloaded the icon from southpawgaming and uploaded it to, and then flushed the website, cleared my cash, flushed the website again and it is not updating. I have asked other who have never visited the website before to load the website and tell me what icon they get and they are still getting the silverstripe icon.

I have searched through all files but there is no favicon.ico for silverstripe anywhere. Does anyone know what is going on?


26 May 2014 at 5:53pm Community Member, 79 Posts

fav icon is visible in my browser, but the fav icon is missing in the html

add the code in template.

<link rel="shortcut icon" href="/favicon.ico" />

Hope it might help.


26 May 2014 at 10:36pm Community Member, 37 Posts

The favicon problem got fixed but I don't understand how. I have not changed the code and I have not uploaded a new image, it just all of a sudden started working. Is it possible this was a problem on server end, it was caching the old one?


27 May 2014 at 12:04am Community Member, 123 Posts

I get this a lot when changing/adding favicons. It's definitely a caching issue, probably with the browser.

I've never been able to directly fix it but it always as you said sorts itself out.

My rule of thumb is as along as the favicon.ico is in the right directory and is being called using what Thomas said, <link rel="shortcut icon" href="/favicon.ico" /> in the template, then it will work eventually :)


28 May 2014 at 11:44pm Community Member, 509 Posts

I would agree with ambient. Browsers seem to quite aggressively cache favicons.

The only way I have found that seem to fix the issue is to navigate to the URL of the favicon (EG: then use CTRL + R (CMD + R on a mac).

That then forces the browser to update the favicon in its cache.

For some reason, CTRL + R doesn't work if you don't open the favicon directly using it's URL.

Hope that helps?