Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #304185

    Antoine
    Participant

    HI,

    I’ve got a problem with my Favicon. The old favicon is still showing on some pages and I don’t know how to get rid off it. It shows up on the following pages:

    – WordPress Admin: https://paleoflaneur.com/wp-admin
    – Download directlory: https://paleoflaneur.com/download

    As far as I could see, it seems to be ok on all other pages. Could you please tell me how to solve this problem?
    You can see on the following image the correct favicon and the old one:

    Thanks!

    #304534

    Paul R
    Moderator

    Hi Antoine,

    Try adding the code below in your child theme’s functions.php

    
    function favicon(){
    echo '<link rel="shortcut icon" href="https://paleoflaneur.com/wp-content/uploads/2015/06/Logo-Square-Paleo-Flaneur-Black-780x780.png" />';
    }
    
    add_action('admin_head','favicon');
    

    Hope that helps.

    #305871

    Antoine
    Participant

    It works on the wordpress admin but unfortunately not on the Download directory: https://paleoflaneur.com/download

    Do you have another idea I could try?

    Thanks for your help.

    #306067

    Rupok
    Member

    Hello There,

    Thanks for updating! This download directory page is beyond your WordPress site. It’s a custom page that I can see.
    So you have to add the favicon there manually on page. If you don’t have a page there, you can create a page like index.html and add the favicon on header like below –

    <link rel="icon" type="image/png" href="https://paleoflaneur.com/wp-content/uploads/2015/06/Logo-Square-Paleo-Flaneur-Black-780x780.png">

    Hope this helps!

    Cheers!

    #306606

    Antoine
    Participant

    Hi,

    Thanks for the instructions, which I followed. It has solved the problem on the download directory. However, it still shows the old favicon when I access the file I’ve got there:

    https://paleoflaneur.com/download/Free-Paleo-Beginners-Guide.pdf

    Do you know how to solve this as well?

    #306865

    Rue Nel
    Moderator

    Hello There,

    Upon checking on my end, your old favicon is no longer displaying. Please check the screenshot: http://prntscr.com/7ipl4b

    Please try to clear your browser’s cache or use Chrome’s incognito mode and test the page with the pdf again.

    Please let us know how it goes.

    #307507

    Antoine
    Participant

    I don’t manage to get rid off the old favicon on Chrome but I understand better since I tested with Firefox and IE as well.
    The old favicon shows on Chrome on 2 URLS, when there is no favicon showing on Firefox and IE. The 2 URLs are the URLs I mentioned earlier:

    – WordPress Admin: https://paleoflaneur.com/wp-admin (When I am not logged it)
    – Download directlory: https://paleoflaneur.com/download/Free-Paleo-Beginners-Guide.pdf

    Do you know how I could solve this problem? This is not a big problem, but I like to get things completely sorted out.

    Thanks.

    #307749

    Rue Nel
    Moderator

    Hello There,

    Please check your root directory using ftp. You have a favicon.ico file in there. Some browsers will for that file and use it to display in the browser tab.

    Hope this helps. Kindly let us know.

    #308284

    Antoine
    Participant

    Hi,

    Thanks for the info. I deleted the favicon.ico file but this was not what was making the problem (it was a favicon from my host). I tried to delete everything that I could find to solve the problem, but it’s still there. I have really no idea which file might be the problem.

    But anyway, if you don’t know either, that’s no problem. I will look into it again later, this is not the most important things.

    Thanks.

    #308353

    Christian
    Moderator

    You’re welcome, Antoine. Please try contacting your web host about this maybe they can help.

    Thanks.