Forums

[resolved] Vina - Problems changing Favicon (5 posts)

  1. jvaidya
    Member
    Posted 2 years ago #

    Hey Folks,

    I am assuming this can be easily resolved, but I am having trouble changing my Favicon from the standard to a new one that I have.

    Where can this icon be swapped at? I appreciate any and all help you can give.

    -Thank You!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    You need to upload your favicon file to the same folder as WordPress. Then edit header.php and add the following lines after the <head> and before the </head> tags:

    <link rel="icon" type="image/vnd.microsoft.icon" href="<?php bloginfo('url'); ?>/favicon.ico" />
    <!--[if IE]>
    <link rel="shortcut icon" type="image/x-icon" href="<?php bloginfo('url'); ?>/favicon.ico" />
    <![endif]-->

    This should ensure that your new favicon appears almost instantly - but do remember to press CTRL and F5 simultaneously when viewing the updated site

  3. JCataln
    Member
    Posted 2 years ago #

    I uploaded mine under the same name (favicon.ico, IIRC) and it worked. I just waited around 24 hours or so for my cache to refresh (bypassing cache didn't do anything).

  4. jvaidya
    Member
    Posted 2 years ago #

    @esmi,

    Thank you! Worked like a charm. I appreciate everyone's input and I thank you for your help.

  5. rustyhoot
    Member
    Posted 2 years ago #

    I'm having problems. I did everything stated above, but it's still not working on my site http://www.utahoutside.com

    here is the code I put into the header.php file:

    <link rel="icon" type="image/vnd.microsoft.icon" href="<?php bloginfo('url'); ?>/favicon.ico" />
    <!--[if IE]>
    <link rel="shortcut icon" type="image/x-icon" href="<?php bloginfo('url'); ?>/favicon.ico" />
    <![endif]-->

    Here is where the favicon is located: http://www.utahoutside.com/favicon.ico

    What did I do wrong? HELP!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags