Support » Fixing WordPress » Newbie question regarding tab icons

  • Resolved Prodromoi


    I’m a complete newb to WordPress, so this may be a common question, but I can’t find the answer.

    I’ve installed WP onto my own site (hosted by my ISP), installed a theme (which I will likely change as I get things settled) and started to get the hang of things.

    How can I add a tab-icon (I think I’ve seen them referred to as ‘favicons’) to the blog I’ve set up? I know that I’ll need to specify where the icon is stored online, but what’s the simplest/best way of incorporating that into the blog?

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Ipstenu (Mika Epstein)


    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    The easiest way is to upload a favicon.ico into your root wordpress folder, and/or the root of your website. Most (if not all) modern browsers pick that up. I think even IE 6 does.

    Failing that, upload your favicon.ico and add the below code inside header.php for your theme:

    <link rel="shortcut icon" href="http://yourdomain.comfavicon.ico" type="image/x-ico"/>

    See also:
    and :

    for more info and advice 🙂

    Thanks, that’s a great help. I hoped it would be simple but that was better than I could have hoped!

    Just putting it in the root directory didn’t work (I tried both the main website root directory, and the root directory for the blog) but it didn’t show up when refreshing, so I went for the second option.

    I used a relative location in the href in case I want to rename the directory or move it, so added this slight variation of your line:

    <link rel="shortcut icon" href="favicon.ico" type="image/x-ico"/>

    Many thanks.

    Moderator Ipstenu (Mika Epstein)


    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    Just remember that a relative location is relative to the page. If you put the icon in your theme folder, that should work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Newbie question regarding tab icons’ is closed to new replies.