• Resolved jvaidya

    (@jvaidya)


    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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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

    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).

    Thread Starter jvaidya

    (@jvaidya)

    @esmi,

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

    I’m having problems. I did everything stated above, but it’s still not working on my site https://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: https://www.utahoutside.com/favicon.ico

    What did I do wrong? HELP!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Vina – Problems changing Favicon’ is closed to new replies.