Forums

[resolved] favicon.ico doesn't get loaded, please help! (4 posts)

  1. leolionheart
    Member
    Posted 6 months ago #

    Hi there,
    I need help on changing my favicon.

    I followed the steps from this link: http://codex.wordpress.org/Creating_a_Favicon

    I created my favicon at favicon.cc, and downloaded the .ico file(1 KB),
    Then I uploaded it to my ftp, added this line: <link rel="shortcut icon" href="<?php bloginfo('stylesheet_directory'); ?>/favicon.ico" /> within <head> and </head> under the header.php.
    and it didn't work. I've tried control+shift+R, it's still the default favicon...

    it works when connecting to the link below:
    http://www.leolionheart.com/wp-content/themes/grey-opaque/favicon.ico
    but it doesn't work on my site: http://www.leolionheart.com

    I've tried putting the url of my favicon under "Appearance>Settings"
    It didn't work neither...

    I'm using Blue Host.
    (I wonder if the reason is somehow my web host.)

    Hope I've given enough information.

    Please help and thank you so much!

  2. leolionheart
    Member
    Posted 6 months ago #

    I'm using Firefox on Mac OS Lion

  3. leolionheart
    Member
    Posted 6 months ago #

    I'm gonna cry...
    It worked after I had restarted my browser...LoL
    Thanks for whoever clicked in this post and looked up my issue!

  4. dw1Rianto
    Member
    Posted 6 months ago #

    Here's some tips to make favicon:
    1. Whether if you're using custom theme or not, please add some functions into your functions.php to get it works

    /* LOAD FAVICON */
    	function favicon_link() {
    		echo "\n";
    		echo '<link rel="Shortcut Icon" type="image/x-icon" href="'.get_bloginfo('stylesheet_directory').'/favicon.ico" />' . "\n";
    	}
    	add_action('wp_head', 'favicon_link');

    2. If it's still not works, try to configure your favicon type;

    <link href="your_url" rel="shortcut icon" type="image/vnd.microsoft.icon" />

    Hope this help :)

Reply

You must log in to post.

About this Topic

Tags