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
BedrockMission!

Learn More

View all

Sign in to view all badges

How can I change my site's favicon?

Avatar

Avatar
Give Back
Level 1
Jeanmaradiaga
Level 1

Like

1 like

Total Posts

22 posts

Correct Reply

1 solution
Top badges earned
Give Back
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Give Back
Level 1
Jeanmaradiaga
Level 1

Like

1 like

Total Posts

22 posts

Correct Reply

1 solution
Top badges earned
Give Back
Validate 1
Boost 1
Affirm 1
View profile
Jeanmaradiaga
Level 1

28-05-2021

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 50
MVP
Vaibhavi
MVP

Likes

216 likes

Total Posts

181 posts

Correct Reply

61 solutions
Top badges earned
Affirm 50
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Affirm 50
MVP
Vaibhavi
MVP

Likes

216 likes

Total Posts

181 posts

Correct Reply

61 solutions
Top badges earned
Affirm 50
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile
Vaibhavi
MVP

28-05-2021

Answers (1)

Answers (1)

Avatar

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

570 likes

Total Posts

687 posts

Correct Reply

197 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

570 likes

Total Posts

687 posts

Correct Reply

197 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile
asutosh_jena
Level 10

28-05-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!