How can I change my site's favicon? | Community
Skip to main content
Jeanmaradiaga
Level 3
May 28, 2021
Solved

How can I change my site's favicon?

  • May 28, 2021
  • 2 replies
  • 28426 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Vaibhavi_J
Vaibhavi_JAccepted solution
Level 7
May 29, 2021
Asutosh_Jena_
Community Advisor
Community Advisor
May 29, 2021

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!