Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Favicon wont display WordPress

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

Answers (7)

2011-08-03

Jens Filipsson answers:

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.

2011-08-03

moviezman answers:

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

2011-08-03

Ivaylo Draganov answers:

If there's a file called <em>favicon.ico</em> 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.

2011-08-03

Gabriel Reguly answers:

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

Using Firefox ;-)


See attached image.

2011-08-03

Romel Apuya answers:

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

2011-08-04

Reland Pigte answers:

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


Reland Pigte comments:

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

2011-08-04

Sonja answers:

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!