TPL-FAVICON-001
favicon.ico in Joomla root wins
Favicon: root vs template
Joomla 4 template assets take over favicon resolution.
favicon.ico in Joomla root wins → Template favicon wins on Joomla 4+
Symptoms people search
wrong favicon after upgrade · favicon.ico
Replace this code
Swap favicon.ico in Joomla root wins for Template favicon wins on Joomla 4+.
Joomla 3
Remove or stop calling this
/favicon.ico in the site root always showedJoomla 4 / 6
Use this instead
Put favicon in the template (Cassiopeia media / joomla.asset.json). Root favicon is no longer the winner.How to fix it
- 1Add the icon to the template.
- 2Clear browser cache after the change.
Also known as
favicon
Related issues
- Joomla 3 → 4Joomla API
Factory::getUri()
JFactory::getUri() → Uri::getInstance()
- Joomla 3 → 4Joomla API
Factory::getXml() / JXMLElement
JFactory::getXML() → SimpleXMLElement
- Joomla 3 → 4Joomla API
Factory::getEditor()
JFactory::getEditor() → Editor::getInstance()
- Joomla 5 → 6Database API
Factory::getDbo() / getDBO()
JFactory::getDbo() → $this->getDatabase() or Factory::getContainer()->get(DatabaseInterface::class)
- Joomla 5 → 6Joomla API
Factory::getUser()
JFactory::getUser() → $app->getIdentity() or UserFactoryInterface
- Joomla 5 → 6Joomla API
Factory::getSession()
JFactory::getSession() → $app->getSession()