« May 2008
SunMonTueWedThuFriSat
    
1
2
3
4
5
6
7
8
9
10
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
       
Today
XML

Tom Haynes

loghyr.com
excfb.com

Blogs to Gander At

Navigation

Editing

AllMarks

Referers

Today's Page Hits: 1525

Powered by Roller Weblogger.

statcounter.com

clustrmaps.com

Locations of visitors to this page

technorati.com

www.alesti.org

Add to Alesti RSS Reader

South Park as I was 10 years ago

South Park Fantasy

South Park today

South Park Reality

I have more hair and it isn't so grey. :->

10 years ago, really

Toon Tom

Today, literally

Tom Today

Site notes

This page validates as XHTML 1.0, and will look much better in a browser that supports web standards, but it is accessible to any browser or Internet device. It was created using techniques detailed at glish.com/css/.

« zfs, NFSv4, and the... | Main | Big spike in my... »
20060320 Monday March 20, 2006
Ever wondered how they get those little icons in the URLs?

So, I'm trying to get kanigix.org in shape and I wanted to add one of those little icons up in the URL bar of the browsers. One google later and I'm at http://www.html-kit.com/favicon.

I followed the instructions, upload my .jpg file, and got a new resource. I downloaded the favicon.ico, did not get a virus, and then uploaded the resulting file to my website.

I then added the following snippet of html to my pages:

<link rel="shortcut icon" href="/images/favicon.ico" >

Note that I have to use special escape characters in the raw html here in order to keep a blank line from appearing. It should really be '<' and '>'.


Orginally posted on Kool Aid Served Daily
Copyright (C) 2006, Kool Aid Served Daily

Trackback URL: http://blogs.sun.com/tdh/entry/ever_wondered_how_they_get
Comments:

Depending on your web server setup, you shouldn't need to code the favicon link path into your HTML pages at all.

For example, I simply place the favicon.ico file of my choice in the appropriate Apache directory [ex. /var/apache2/htdocs/ ] and that's it. You'll probably have to clear your browser cache and reload to ensure it worked. If you want to change to different icons per page, coding the page as you suggest is fairly easy.

Posted by Wes Williams on March 20, 2006 at 01:29 PM CST #

Hmm, I'm using a host site and that actually doesn't work for me. (I'm using http://www.1and1.com for the curious.)

Posted by Tom Haynes on March 20, 2006 at 01:44 PM CST #

For my public site (Lunarpages.com), I simply copy the favicon.ico the public_html directory via FTP.

Posted by Wes Williams on March 20, 2006 at 02:00 PM CST #

Doesn't work for 1and1.com. I was pushing it into my images directory. I fixed that and still no go. I'll probably start doing headers and footers (cat them on), so I won't worry too much about this at all.

Posted by Tom Haynes on March 20, 2006 at 06:38 PM CST #

That's a shame 1and1.com has overly complicated something normally so simple. Know for certain that the Apache 1.3 & Apache 2.0 that ships with Solaris 10 is quite simple in this regard as indicated in my first post.

I look forward to seeing what kanigix develops into.

Posted by Wes Williams on March 20, 2006 at 07:03 PM CST #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed
Copyright (C) 2007, Kool Aid Served Daily