Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
Adobe Summit 2023 | Complete list of AEM Sessions & Labs
SOLVED

How can I change my site's favicon?

Avatar

Level 4

I am working on an editable templates AEM project and I need to change the favicon on the site, what I am trying to do is use the resource's path so:

 

<link rel="icon" href="./ui.apps/src/main/content/jcr_root/apps/mysite/clientlibs/clientlib-site/resources/favicon.ico" />

 

But this is not working, when I used to work on static templates we had a different folder structure so we used to do it like:

 

<link rel="shortcut icon" type="image/png" href="/etc.clientlibs/settings/wcm/designs/mysite/clientlib-all/resources/favicon.ico" />

 Any ideas?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
2 Replies

Avatar

Correct answer by
Community Advisor

Avatar

Community Advisor

Hi @Jeanmaradiaga 

 

Please use the below path and it will load the favicon.

 

<link rel="icon" href="/etc.clientlibs/mysite/clientlibs/clientlib-site/resources/favicon.ico"/>

/apps will be used as proxy with /etc.clientlibs and rest of path remains same.

 

Thanks!