FavIcon for Images/PDF's hosted in AEM DAM | Community
Skip to main content
veerareddyc1015
Level 3
January 9, 2025
Solved

FavIcon for Images/PDF's hosted in AEM DAM

  • January 9, 2025
  • 1 reply
  • 548 views

Hi Team,

 

We are currently using AEM as a Cloud Service. Can anyone guide me on how to enable the FavIcon for PDFs hosted in AEM DAM? Will enabling the FavIcon at the site root level in the dispatcher configuration work?

For example:

Also, how do we add the FavIcon at the root folder in AEM Cloud Services? Could you please provide the relevant documentation?

 

Thanks in Advance

Veera

Best answer by AMANATH_ULLAH

@veerareddyc1015 

The same favicon will be used for pages as well as PDF's 

From the dispatcher end, you can apply below rewrite rule and allow .ico extension in filters

 
RewriteRule ^/favicon.ico$ /content/dam/test/favicon.ico  [PT,L]
 
/0025 { /type "allow" /url "/content/dam/test/favicon.ico" }
 

1 reply

AMANATH_ULLAH
Community Advisor
AMANATH_ULLAHCommunity AdvisorAccepted solution
Community Advisor
January 9, 2025

@veerareddyc1015 

The same favicon will be used for pages as well as PDF's 

From the dispatcher end, you can apply below rewrite rule and allow .ico extension in filters

 
RewriteRule ^/favicon.ico$ /content/dam/test/favicon.ico  [PT,L]
 
/0025 { /type "allow" /url "/content/dam/test/favicon.ico" }
 
Amanath Ullah