About Favicons:
The icon displayed on the browser's address bar/ tab or when the page is bookmarked is called the favicon.
Resources to be used as a favicon (favorite icon) has to be 16x16 in size and of .ico format.
There are multiple ways of specifying a favicon for a website and the standards are listed here:
Favicon requests are sent by the browser and how it resolves to any of the methods above is specified here:
QUOTE: "If links for both PNG and ICO favicons are present, PNG-favicon-compatible browsers select which format and size to use as follows. Firefox and Safari will use the favicon that comes last. Chrome for Mac will use whichever favicon is ICO formatted, otherwise the 32×32 favicon. Chrome for Windows will use the favicon that comes first if it is 16×16, otherwise the ICO. If none of the aforementioned options are available, both Chromes will use whichever favicon comes first, exactly the opposite of Firefox and Safari. Indeed, Chrome for Mac will ignore the 16×16 favicon and use the 32×32 version, only to scale it back down to 16×16 on non-retina devices. Opera will choose from any of the available icons completely at random.[33]
Only SeaMonkey doesn’t fetch favicon.ico files in the website’s root by default.[34]"
When a Force.com site is created, the default cloud logo(in accordance with the salesforce branding) is available on the "/favicon.ico" path of the site and there is no way of removing it.
So, we need to override it, with what we want it to be.
Here are some further points to be noted with favicons:
<apex:page showHeader="false" >
<link REL="SHORTCUT ICON" HREF="{!URLFOR($Resource.favicon)}">
OR
<link REL="SHORTCUT ICON" HREF="<site url>/resource/favicon.ico?v=2" />
.....
</apex:page>
For Experience Builder Sites:
How to generate a favicon.ico file of the favicon you wish to use for these sites.
This will allow the favicon to be used in any section where a static resource can be chosen. This is recommended as the definitive way for many of the different types of Sites.
What if I don't want ANY favicon to be displayed? How do I remove the cloud favicon?
For a Force.com Site:
Assuming that you've already got the site domain setup (Setup | Sites | Register your site domain).
If your site is not at the root path of the domain, then you will need to provide an appropriate link element in the page header to serve custom favicon:
Example:
<link rel="shortcut icon" href="http://mydomain/mypath/favicon.ico" type="image/x-icon" />
Or, you can create an inactive site at the root path, and add the favicon to that site setting. Note: This will be the same favicon for all sites at different paths.
Notes:
This might take a while to work properly. One thing to consider is the use of multiple sites at different subdomains. For example, a site at favicontesting.force.com/ will load the favicon quicker than one at favicontesting.force.com/NotRootPath
If you are using showHeader="false" in a Force.com Site Visualforce page, the "Site Favorite Icon" setting will be ignored for that page. You would need to manually add the code for the icon, such as one of the following examples:
<apex:page showHeader="false" applyHtmlTag="false">
<head>
<link rel="icon shortcut" href="{!$Resource.favicon}" />
<!-- OR -->
<link rel="icon shortcut" href="{!$Site.Prefix}/favicon.ico" />
</head>
</apex:page>
For an Experience Builder Site:
Things to Note:
<link rel="shortcut icon" href="/customers/s/favicon.ico">
Then, here are the steps to add the favicon to the site:
You should now see that the favicon is visible on all pages.
Note: For older Lightning Community Templates (eg. Aloha Template), it is not possible to set the favicon on the login page. However, there is a workaround that MIGHT help.
If you create a site at the root path of the domain, then set the "Site Favourite Icon", save, publish, and then deactivate the site, the favicon may be used for the login page of the active site.
For a Tabs + Visualforce Site:
Note: Your org only supports one favicon for workspace pages: the one assigned to the site that uses the root URL, not a site with a prefix. Let’s say you assign a favicon to workspace pages with a root prefix, and a favicon is also assigned to a site using the root URL. The workspace pages using the root prefix show the favicon assigned to the site using the root URL.
NOTE : Your favicon must be a multiple of 48px square, for example, 48x48px, 96x96px, 144x144px, and so on (or SVG with a 1:1 (square) aspect ratio). Any valid favicon format is supported.
000383315

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.