We’re with you. JoomShaper is offering a 20% Discount on all plans due to the impact of COVID-19.

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Favicon loaded two times

Featured Lock Resolved
I have a question
On a few sites that i run with helix 3 and helix ultimate i saw that there are two favicons are loaded.
its just in the code visible (the same favicon
Is this a feature or an issue
as mostly recommended i have the file uploaded in the remplate folder and on a few sites in the root (but on all sites is the same double favicon in the sourcecode (loaded but not visible)

Thanks for any suggestions

10 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
that very very weird.
Probably you are first person since 2014 who noticed this "issue" in Helix3.
I tested on both Helix's and I see only single icon html tag.
Screenshot from Helix Ultimate source code.


Attachments (1)

  • icon.jpg
    icon.jpg 99.5 KB

Paul Frankowski - Staff

More than a month ago #Permalink
how many icons in code you have in protostar template ?


More than a month ago #Permalink
no when i turn to protostar there is just 1 favicon.ico

i send you pm maybe you want to see yourself

and i also checked from one of your latest blogs hotels https://www.joomshaper.com/blog/stunning-hotel-websites-built-with-sp-page-builder
there on the site Hotel Anklammer hof is also this problem
And also a site on this blog https://www.joomshaper.com/blog/top-fitness-sites-developed-with-sp-page-builder
Site Epochancent has this issue when i checked
So not much but it appears

I hope you could help

Thanks a lot

Paul Frankowski - Staff

More than a month ago #Permalink
Thanks for access. In Helix favicon code is used only ones.
Sorry, I cannot explain from where you have 2nd favicon line. Hopefully it doesn't hurt your site.
You can make a simple test:
1) Install fresh joomla 3.9
2) install helix3
3) check sourcecode
4) then install this same extensions which you have here, one by one, until you will find a guilty one.

Paul Frankowski - Staff

More than a month ago #Permalink
About different question(s) ..open new topic(s).


More than a month ago #Permalink
Thanks for looking into it
I just read around and found infos that two favicons isnt bad mostly if you do one as a png with a better resolution. In some cases a few browsers ignore that but take the .ico then
for the other question i wrote in pm because i tought you were in backend
i had 8 months ago an still open topic with this question
because pagination is still not ok i cant move to ultimate
this is the topic link https://www.joomshaper.com/forums/pagination-missing-in-helix-ultimate


More than a month ago #Permalink
Hi Paul
i'm still checking why i get the favicon twice
lately i tryd to deactivate (one by one) extension/plugins and so on but it didnt solve
i checked once again with protostar and there this problem didn exist and just one favicon was loaded
so i searched the files and found out that in helix 3 (also in actual version) there are codes snippets in two files that are included in the template
one is in index.php and the other is in component.php
could this problem came because of this?
in protostar i dont find any code for favicon and after research i found articles that say because joomla is getting the favicon itself
i put you a code sample with all the snippets
maybe you could check or forward it to the developer
i cant say what is right cause i'm no coder but it looks strange that there are different codes in different files in the same template
maybe this helps for users that event dont recognize if they also have this problem

Thanks for you help

code from helix 3 version component.php
if($favicon = $this->params->get('favicon')) {
$doc->addFavicon( JURI::base(true) . '/' . $favicon);
} else {
$doc->addFavicon( $this->baseurl . '/templates/'. $this->template .'/images/favicon.ico' );

code from helix 3 version index.php
if ($favicon = $this->helix3->getParam('favicon')) {
$doc->addFavicon(JURI::base(true) . '/' . $favicon);
} else {
$doc->addFavicon($this->helix3->getTemplateUri() . '/images/favicon.ico');

code from joomla
public function addFavicon($href, $type = 'image/vnd.microsoft.icon', $relation = 'shortcut icon')
$href = str_replace('\\', '/', $href);
$this->addHeadLink($href, $relation, 'rel', array('type' => $type));

return $this;

Paul Frankowski - Staff

More than a month ago #Permalink
I can only add you found to our dashboard.


More than a month ago #Permalink
dont you think this could happens because the code is doubled in the template?

Paul Frankowski - Staff

More than a month ago #Permalink
I don't have a similar problem, so I don't know. It would be better if our developer will take a look, don't you think

There are no replies made for this post yet.
Be one of the first to reply to this post!




Community Users


Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us