WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Using a favicon with my blog

[Resolved] Using a favicon with my blog

  • Scooterchick

    I have more than one site/page that I want a favicon for. One of them happens to be my Word Press blog. I can’t figure out where to load the favicon to and what file to edit to make it appear. Any help please???

Viewing 15 replies - 1 through 15 (of 17 total)
  • Favicon has nothing to do with WP at all. To make it appear on a domain, you just upload the icon to the top level directory (yoursite.com/favicon.ico) The browser recognises it by its file name. No need to edit any files.
    I dunno if it’s possible to have a different favicon for things like yoursite.com/subdirectory or subdomain.yoursite.com though, if that’s what you want to do.

    Also, make sure you get the icon right before you upload it – don’t do a test icon, because browsers and other sites that capture the favicon tend to only load it once. For example, Bloglines still shows my old icon by my RSS feed, even though I changed it months ago.

    With my Firefox, for some reason it’s given the BBC site the WP favicon !
    (Or could this be true ….. 😉 )

    zadu I can’t put it top level because I have three blogs and two forums, it would default to all of them.
    ayager I’ve been trying that and I can’t get it to work.
    If I dump the cache would it show up?
    I thought I had it working once but maybe it was only working for me.

    IE support for favicon is very buggy. test with alternate browsers…

    Actually, to be 100% correct, the code should be:
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />

    For those interested in creating their own fav icon, here’s a neat tool:
    http://www.html-kit.com/e/favicon.cgi

    I haven’t tried it myself but ayager/mathibus’s method might make it possible to have different icons for different parts of your site. It’s never going to work all the time, in all browsers though..

    okay I’ll give it a try…

    okay I tried it…don’t see anything.
    Maybe someone who has never been to the site could check for me?
    http://www.scooterchick.net
    I use Opera not IE normally anyhow.

    Scooterchick:Try this…
    <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />

    whoops. 1) forgot to do login, 2) code went out wrong
    <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />

    I dunno why I don’t stay logged in here…
    anyhow I redid the code, can someone look at it?

    I experimented with the following in 1.2 and it worked fine.
    <link rel="shortcut icon" type="image/x-icon" href="<?php echo get_settings('siteurl'); ?>/favicon.ico" />
    However the icon only reliably appears after the a link is added as a Fav. to IE.
    Microsoft have some info but it is the same as above.
    http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/howto/shortcuticon.asp

    Okay I tried that one… but I’m not sure, do I need to actually put the siteurl in where it says that?
    Its not showing up in Opera or IE 6.02
    The favicon is showing up for the forum on Opera but not on IE.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘[Resolved] Using a favicon with my blog’ is closed to new replies.
Skip to toolbar