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" />
Solved! Go to Solution.
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.