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.
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.
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
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.
Romel Apuya answers:
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
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
If you don't want to mess with the code I'd suggest using a free plugin that does the trick:
You can even upload a png file for a better favicon resolution ;)
Nice site btw!