Support » Fixing WordPress » Favicon not showing up in URL?!

  • Resolved Melton Cartes


    I was having trouble getting my favicon to show up either when I was at my site ( or in my lists of bookmarked pages.

    I tried without any luck:
    <link rel=”shortcut icon” href=”/favicon.ico” />
    (Including variations such as, “<link rel=”shortcut icon” type=”image/ico” href=”/favicon.ico” />” and “<link rel=”shortcut icon” href=”/favicon.ico” type=”image/x-icon” />” and a few other things)

    I also tried making sure that I was producing a working (i.e. under 20k) .ico file.

    The solution for producing the image was to produce an appropriate PNG and rename it an ICO.

    The solution for the XHTML code was to use this line I found… somewhere:
    <link rel=”shortcut icon” href=”<?php bloginfo(‘stylesheet_directory’); ?>/images/favicon.ico” type=”image/x-icon” />
    …in my header.php, of course.

    …and place the favicon.ico in my images folder as opposed to the root directory.

    Ta da! I hope this helps someone else to avoid wasting a few hours.

  • The topic ‘Favicon not showing up in URL?!’ is closed to new replies.