Advertise
Drop Me an Entrecard
Top Entrecard Droppers
Categories / Archives
Top Level Web Directory Categories
Subscribe
Add to Google Reader or Homepage Subscribe in NewsGator Online
Add to My AOL Add to netvibes Subscribe in Bloglines

  • Posted the Entrecards, The Dropper How To (http://tinyurl.com/6hmg5o) another great How To from Lobo Links
  • Congrats to Entrecard for their latest creation Entrebar http://tinyurl.com/5pygbw. Now if they could only cure that bounce rate problem.
  • Auto Industry reports truck and suv sales decline according to the WSJ. Gas in MS is 3.45'ish a gallon. http://tinyurl.com/5np6gf
  • Published a new post: Bounce Rate, Part of the Google Quality Metric? ( http://tinyurl.com/6napz8 )
  • Published a new post: Top Entrecard Droppers for July 2008 ( http://tinyurl.com/54pzw6 )

Adding a Favorite Icon To Your Site, The How To

December 14th, 2007 by Mack

favorite_iconA favorite icon gives you branding strength and more importantly something your members can recognize in a long list of favorites.  It is pretty much straight forward 101 stuff, but I am going to do my best to break it down into simple steps for any management platform.

(Gathering thoughts into sentences....Almost there)

 

The Basic Concepts

The code you will be adding is very simple

HTML:
  1. <link rel="shortcut icon" href="http://www.yoursite.com/images/favicon.ico" />

Where to stick it

On a regular basis your going to be looking for the first file that loads in sequence. (ie header.html, header.php, header.tpl, etc)  Now you need to find the below code that references to the CSS stylesheet for your site, for instance

HTML:
  1. <link rel="stylesheet"

You should add your favorite icon code above or below the reference to your stylesheet .  Have a look at mine below for Wordpress.

HTML:
  1. <link rel="shortcut icon" href="http://www.yoursite.com/images/favicon.ico" />
  2. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
  3. <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
  4. <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
  5. <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
  6. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

Uploading

I am not going into much detail about this aspect. Just make sure it matches your given path in the above code.

Conclusions

That is pretty much it. You might not see any changes take effect until you clear your cache. On Monday I will be talking about creating favorite icons with transparent backgrounds.

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • StumbleUpon
  • Sphinn
  • Mixx
  • Reddit
  • Technorati

Related Post

6 Responses

  1. By Gerard McGarry on Dec 22, 2007 | Reply

    Surely if you have the favicon.ico in the root of the website, most browsers automatically detect it? Any other reasons to put it in the code too?

  2. By Mack on Dec 22, 2007 | Reply

    I don't think they will detect it. I am pretty sure the code is mandatory.

  3. By Mark @ TheLocoMono on Dec 25, 2007 | Reply

    I followed your instructions but am unable to display it on my browser. The code is in my header file above the css reference but I am not sure if that is the right place.

  4. By Mark @ TheLocoMono on Dec 25, 2007 | Reply

    I figured it out, I checked the source code and realized I forgot the "http://" excellent tutorial, I am going to Stumble it and add it to my tool list.

  5. By Mack on Dec 25, 2007 | Reply

    Glad you got it worked out Mark and thanks for the kind words.

1 Trackback(s)

  1. Dec 17, 2007: Creating Favorite Icons with Transparent Backgrounds Using Photoshop : Lobo Links Blog

Leave a Reply