yeah, thats what I do!!!
Seen those small images which appear on the address bar when you visit a site? Well, they are called as Favicons. I got the idea to write this post when Kiran asked me her doubt regarding the same. Here’s how you add a favicon for your site.
First decide on an image that you would like to display as your favicon. My site currently has the below image as the favicon.
![]()
Ok, so once you have the image that you want to be displayed on the address bar follow these steps :
1. Convert the image to ".ico " type. You can do this by visiting either of these sites,
html-kit.com/favicon/ (If you need an animated favicon)
2. Upload the favicon to your own webspace or there are free image hosting services which allow you to upload images of type ".ico" like fileden .
3. Next, if you have a Blogger.com blog, follow the steps as below:
a. Go to Settings .
b. Click on Layout .
c. You will notice a tab ‘Edit HTML ‘
d. Find ‘</head> ‘ in the page that is displayed.
e. Add the following line before ‘</head>’ :
<link rel="shortcut icon" href="your-favicon-URL-here " type="image/x-icon" />
f. Preview to see if the favicon appears in the address bar.
4. If you have a wordpress.com hosted blog, then I don’t think you can change the favicon since wordpress.com users do not have access to the files needed to add the favicon.
You can now add favicons to wordpress.com blogs too. Learn how to add favicon to wordpress.com blogs.
5. For self hosted wordpress blogs, follow these steps :
a. Upload the favicon to either this path public_html/wp-content/themes/your-current-theme-name / or you can simply upload the favicon to any folder of your choice if you want to.
b. Login to your wordpress Admin account and click on ‘Design’ -> ‘Theme Editor ‘. On the right hand side you will see a list of files. Click on header.php
c. If you uploaded your favicon to the path( public_html/wp-content/themes/your-current-theme-name / ) as mentioned above then add the following line just before the ‘</head>’ tag
<link rel="shortcut icon" href="<?php bloginfo(’template_url’); ?>/your-image-name-here " type="image/x-icon" />
In the above code do remember to replace ‘your-image-name-here ‘ with the name of your favicon image (along with the ‘.ico ‘ extension)
Note: Before adding the tag as specified above, just make sure that there’s no similar tag in header.php file already. If it is, then delete it.
If you happen to have saved your favicon under some folder other than the one mentioned then add the following code instead of the one above
<link rel="shortcut icon" href="the-complete-icon-url-here " type="image/x-icon" />
d. Save the file and check if the changes are reflected.
That about sums it up. Hope you will now be able to add your own favicon to your blogs and sites. If you have problems or do not understand any point do leave a comment. I’m here to help you ;o)
kiran
August 30th, 2008 at 1:04 pm
i have doubts which i have posted on facebook and gmail
full one day i have spent asking u questions about this. HELPP
kiran
August 30th, 2008 at 1:09 pm
every step I am doing correct..yet my image is not coming. frustrated
Nischal Shetty
August 30th, 2008 at 1:11 pm
@Kiran I have mailed you the code that you need to add in your template. Hope it helps you ;o)
kiran
August 30th, 2008 at 1:40 pm
It worked thanks…THANK YOU SO MUCH. I owe u a BIG TREAT. whenever u are in delhi or me in bangalore.
U are a genius.
Nischal Shetty
August 30th, 2008 at 1:52 pm
@Kiran It worked!! Yippie… I almost quit my job as a techie..lol… Haan treat toh banta hai
kiran
August 30th, 2008 at 1:57 pm
arre don’t ever quit ur job. U are the BEST
Nischal Shetty
August 30th, 2008 at 2:02 pm
@Kiran awww.. thank you soooo much
Rahul V Shetty
September 1st, 2008 at 10:24 am
I go to favicon and it generates a .ico file on my local computer (VB script if Im not mistaken)… how can I generate a URL for it that can be used on my blogger account?
Nischal Shetty
September 1st, 2008 at 7:19 pm
@Rahul you can upload this .ico file at http://www.fileden.com. When you finish the upload, a URL will automatically be generated at the site and given to you
Feabionsu
October 5th, 2008 at 9:16 pm
Ack! I can’t do it! I tried already so many times, uploaded the file multiple times to different services just in case, went to other articles that show you how to do it – IT DOESN’T WORK!
Well, it probably does, but I’m having trouble! Help please?
Nischal Shetty
October 6th, 2008 at 1:39 am
@Feabionsu
Don’t worry
Send me the link of your favicon. I have mailed you the code with the instructions please check and revert back.
Did you try checking if the favicon has come or not in other browsers? I mean after you save changes, check in firefox or opera rather than internet explorer. Explorer behaves in a funny way when it comes to favicons.
Pszetfurnia
November 1st, 2008 at 9:23 pm
I have an .ico file and a .gif file generated by http://www.html-kit.com/favicon/. I understand that to have an animated favicon I should upload both those files somewhere and get their respected URLs. Let’s say I already have the URLs. What code shoud I add to my Blogger layout?
Nischal Shetty
November 2nd, 2008 at 3:56 am
@Pszetfurnia
Only put the link of the .gif file. Nothing else is needed. Also remember that not all browsers may support the animated favicons.
Please let me know if you face any problems
Pszetfurnia
November 2nd, 2008 at 6:59 pm
Thank you, Nischal! It works.
I uploaded my .gif favicon to Dropbox and to Image Shack, and tried both links. In both cases animation works but only for 6 cycles, afterwords the favicon remains still.
Is there any remedy for that?
Nischal Shetty
November 2nd, 2008 at 7:04 pm
@Pszetfurnia
I guess it’s browser dependent. We cannot really do anything about it
laptopgarden
November 23rd, 2008 at 5:13 pm
thanks for sharing the tips!
Nischal Shetty
November 23rd, 2008 at 6:21 pm
@laptopgarden
You’re Welcome
Iceage
November 25th, 2008 at 10:01 pm
Hee, animated favicon there are here http://www.favinator.de Its simple image upload… Nice, but german ;-(
favicon generator
December 26th, 2008 at 5:48 am
I use free tool at animatedfavicon.com. This one works great and its fast