• Hi,

    My favicon.ico is in the root, the code below has been tried in the head of the header.php but the favicon is not showing up.

    I’m in Blankslate boilerplate.

    Here’s the header.php code
    <link rel=”icon” href=”<?php bloginfo(‘siteurl’); ?>/favicon.ico” type=”image/x-icon” />
    <link rel=”shortcut icon” href=”<?php bloginfo(‘siteurl’); ?>/favicon.ico” type=”image/x-icon” />

    OR/
    <link rel=”icon” href=”https://widerthanround.com/favicon.ico&#8221; type=”image/x-icon” />
    <link rel=”shortcut icon” href=”https://widerthanround.com/favicon.ico&#8221; type=”image/x-icon” />

    Neither are working.

    Anyone shed light on this ? I read that it can take days for the favicon to show. Is this true?

    Thanks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • > Anyone shed light on this ? I read that it can take days for the favicon to show. Is this true?

    No… it can sometimes take a few seconds, or take a refresh or two.

    When I load https://widerthanround.com/favicon.ico it returns a 403 forbidden. Which is a bit strange…

    If you like you can verify it by pasting the URL into here: https://testuri.org/sniffer

    If it was just that the file was not there it would return a 404.

    Is there anything in your .htaccess or hosting that could cause this? Are you using a security plugin or firewall? Perhaps contact your web host…

    Thread Starter wmati

    (@wmati)

    Thank you Colin for reply. I looked into everything that you’ve listed and still no show. I disabled sites firewall rules, contacted host, who confirmed the .ico file was corrupted, I created an entirely new .ico file, converted it elsewhere online and it didn’t resolve it.

    Strange thing is that both yourself and my hosts got the error messages at the favicon url , yours a 403 and I always get a blank window, on both opera and Chrome.

    Thanks for the leads.

    Upload a favicon.png file in the root folder. Then try like this:
    <link rel=”shortcut icon” href=”https://widerthanround.com/favicon.png&#8221; />

    Perhaps try with a favicon file that you know is not corrupted in anyway, to test if that works. Eg download one off another site and try uploading that.

    Fyi, you can try uploading elsewhere, eg another directory. It does not have to be in your root directory.

    Thread Starter wmati

    (@wmati)

    Thanks mm_developer. I will try this & post results. I tested things by adding the favicon via a plugin and it worked without issue. At least from this, I know it can.

    Cheers for the tip.

    Thread Starter wmati

    (@wmati)

    Yeah Colin, we’re on the same page. Tried other directories and it didn’t work.

    Thread Starter wmati

    (@wmati)

    tried that too Colin, with newly created favicon

    Just to check which you are using, have you tried uploading the favicon via FTP, or the Media uploader? Whichever you haven’t tried is worth a go.

    Moderator t-p

    (@t-p)

    Thread Starter wmati

    (@wmati)

    Job done !!

    Trouble shoots/research pointed to the .png option presented here by mm_developer. And it was that simple. So thank you to mm_developer for this:

    Upload a favicon.png file in the root folder. Then try like this:
    <link rel=”shortcut icon” href=”https://widerthanround.com/favicon.png&#8221; />

    It took 2 minutes ish.

    Thanks all who helped me there.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Favicon not showing’ is closed to new replies.