Viewing 6 replies - 1 through 6 (of 6 total)
  • Just drop it in webroot, the same level as wp-config.php, and it will work.

    If you want to be cross-browser precise, also use

    <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" />

    in header.php and delete other favicon links to make it clean.

    Thread Starter MacroPhotoPro

    (@macrophotopro)

    Thank you very much!

    Is header.php the same as wpheader.php?

    I have no idea what file wpheader.php might be. It’s not a standard WP file name.

    You can create favicon.ico using this online tool:
    Then follow the instructions on Faviconer to add new icon to your page.

    Last I checked some browsers still look for favicon.ico in the web root, even if you include the right link tags for it, so you end up with failed requests and a slower load time because of it. If you can put it root you are better off, it seems to me.

    I would really love it if someone could contradict that though. I’d much rather keep favicon.ico with all of the other theme images.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to Add Favicon’ is closed to new replies.