Where should "favicon.ico" be uploaded?

guirala Member, Translator

Hi friends:
A simple question: in which folder should I put my icon file "favicon.ico" so that it can be displayed correctly in the browser when entering the page?
Currently I have uploaded it inside the "/public_html" folder (the same where is index.php) which is where I installed my site, but it does not show it, curiously it is displayed correctly when entering to the administrator page (zp-core/admin.php) but not when entering to the website; there it only continues showing the icon of the small green camera. I have tried uploading it in the theme folder, but it doesn't work either.
Thanks.

Comments

  • acrylian Administrator, Developer
    edited July 2021

    The root of the install - as you did - is generally okay. But some themes provide their own favicon within their theme folder and load it from there.

  • fretzl Administrator, Developer

    You may also want to change the favicon.ico file in the images folder in your theme.
    That's the one that is called in the <head> section.

  • guirala Member, Translator

    Thanks acrylian and fretzl, I did what you indicated and problem solved.
    For anyone else who has had this problem, installing the favicon.ico file in the theme's images folder fixes it.

Sign In or Register to comment.