function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
saharisahari 

favicon does'nt work in IE

I developed a site and am using a favicon for it.

I uploaded a favicon (img/jpeg) in static resources .

Then I tried to lookup for this in the Site detail page. But it did'nt work. 

So I used

<link rel="icon" type="image/png" href="{!$resource.favicon}"/>

 

But this time, it works in all browsers except IE.

Can anybody help me on this please.

BulentBulent

did you set the Cache Control setting as public for the static resource?

saharisahari

Yes. It is public.

And it works in all broswers except IE

BulentBulent

can you try this format:

 

 

<link REL="SHORTCUT ICON" HREF="{!URLFOR($Resource.favicon)}">

 

 

RyanGuestRyanGuest

The favicon may take up to 24 hours to update due to global caching.

 

What happens when you go to the favicon link directly in your IE browser?

saharisahari

I get the clod icon in Internet Explorer.

But for other browers, I get the one which I chose as favicon.

BulentBulent

try browsing your site via your secure (https) site url. If you see the right icon than you have done it correct. It means the old one is cached for a day.

saharisahari

I checked with the secure site url. And no luck yet!

It still shows the cloud icon

BulentBulent

can you tell me what icon you see for this site via the browser version you see the issue: http://sitesdemo.force.com/causes

saharisahari

I see the regular IE icon.

BulentBulent

can you post your OS and browser version details?

saharisahari

IE 7 and MS windows XP Professional Service Pack 3

BulentBulent

IE looks for /favicon.ico at the root level

if you haven't masked your site url with a custom domain name and if your site has a path like abc.force.com/path1 than IE will look for abc.force.com/favicon.ico. In this case you either need to create a root level site and the favorite icon at the root level or mask your site url for your custom domain name 

guna malliguna malli
Hello,
i want to create favicon in salesforce?How to i create it?i don't have  much knowledge about it?plzz explain step by step process?
morepeoples usin g this code where i placed this code(<link REL="SHORTCUT ICON" HREF="{!URLFOR($Resource.favicon)}">)??'
plzzz explain??