logo
Ask your WordPress questions! Pay money and get answers fast! (more info)

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.

$10
Favicon wont display

Hi,

this seems a bit rediculous, but i cant get my favicon to display. its been like this a while now. I have tried everything but nothing. I have a .ico file sitting in my folder which should be linked properly and ive tried Plugins etc, nothing works.

if anyone can help i would really appriciate it.

Its a travel blog, and i am traveling atm so my responce may be delayed.

cheers

Dave

www.travel.davidsidhom.com

davidsidhom | 08/03/11 at 4:43pm Edit
Tutorial: How to assign prize money


(7) Possible Answers Submitted...

See a chronological view of answers?

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

  • avatar
    Last edited:
    08/03/11
    4:49pm
    Jens Filipsson says:

    You need to add this to your header.php file:

    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />

    You should also make sure that your favicon is placed both in the root directory of your site, as well as in your wordpress folder if you have one.

  • avatar
    Last edited:
    08/03/11
    5:01pm
    moviezman says:

    Add this in header.php
    <link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/images/favicon.ico" />

    Put the image favicon.ico in the right directory. For example, here it is in the directory images in

    Example: /wp-content/themes/nameofthetheme/images

  • avatar
    Last edited:
    08/03/11
    5:07pm
    Ivaylo Draganov says:

    If there's a file called favicon.ico in your website's root directory it will be loaded by default as a favicon by browsers and other services. So, basically that's all you need to make your icon appear. If there's a <meta> tag on the page it will override the fore mentioned default favicon.

    Sometimes browsers cache the favicon for long periods. You may need to refresh the page several times or better - close the browser window and start the browser again.

  • avatar
    Last edited:
    08/03/11
    6:57pm
    Gabriel Reguly says:

    Oddly I can see it at http://travel.davidsidhom.com/

    Using Firefox ;-)


    See attached image.

    attachment image View Attachment

  • avatar
    Last edited:
    08/03/11
    7:32pm
    Romel Apuya says:

    Hi,

    Your favicon.ico is located in your template directory.

    so this one should be on your header.

    <link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/favicon.ico" />


    if something like this already exist, try replacing it.
    if not, then try adding that one below the
    <title></title>


    tags

  • avatar
    Last edited:
    08/03/11
    8:00pm
    Reland Pigte says:

    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />

    1. Upload the favicon.ico on your root directory /public_html or /www
    2. put the above code on the header.php

    I check your link the the favicon shows up, See the attachment below..

    attachment image View Attachment

    • 08/03/11 8:03pm

      Reland Pigte says:

      Or you just have to clear your cache in order for you to see it

  • avatar
    Last edited:
    08/03/11
    9:06pm
    Sonja says:

    If you don't want to mess with the code I'd suggest using a free plugin that does the trick:
    http://wordpress.org/extend/plugins/all-in-one-favicon/
    You can even upload a png file for a better favicon resolution ;)

    Nice site btw!

This question has expired.





Current status of this question: Community pot



Please log in to add additional discourse to this page.





Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.