PDA

View Full Version : Favicon - I'm very frustrated!!!



pj2012
10-23-2007, 01:55 PM
This seems like a simple task but I can't get past the
"verifying" stage...

heres what I have done-

I created the favicon, downloaded it, put it on the server via
FTP , but when I type in my website to verify it I just get
a blank page,

So I decided to continue with the steps ie: putting in the code in the
header etc and of course nothing.

What am I doing wrong? I do my own websites all the time, flash intros,
etc etc, so I am pretty self sufficient in figuring these things out but
this one has me stumped!!!

Thanks -

Pam

BLiZZaRD
10-23-2007, 02:14 PM
Do you have a link, or something so we can see what may be going on?

djr33
10-23-2007, 06:01 PM
Without seeing anything, our only suggestion can be that Internet Explorer can take approx. 72 hours (usually significantly less, but sometimes longer than that) to update the favicon. So... all you can do there is wait, assuming it is setup correctly.

insanemonkey
10-26-2007, 12:34 PM
you need to clear your history or cookies and it will work, i had this problem one time...

make sure..;
<link rel="shortcut icon" href="../../../../images/favicon.ico">
thats in your head tags.
I add ../ for pages like
/forums/main/reply/blah.php
stuff like that..

kuau
12-23-2007, 02:03 AM
I too am having trouble with the favicon, even though I made one for a few sites a year ago that still work fine using this code in the <head> of index.html.

<link rel="icon" type="image/ico" href="http://www.mydomain.net/favicon.ico" />

Now I can't get the favicon to show at all unless I put the line in every file, and it shows only in Firefox, not IE7 (I cleared cache & cookies & waited 48 hrs). I thought you just had to put it in the homepage. Does the favicon.ico file have to be in the root, or can I define the path to the image folder where the rest of the image files are? eg. http://www.mydomain.net/img/favicon.ico.

Has something changed about how to do this that I didn't hear about?

Thanks for your help. Aloha, kuau

djr33
12-23-2007, 05:28 AM
As far as I know, it should go in the root, not a subfolder. Having it in a subfolder makes this ambiguous, as you could have any number of subfolders with any number of favicon files, which the browser could only guess at.

I think you might be able to define on a page by page basis any path you'd like, but for a site-wide default, it should go in the route. This also saves you trouble with adding code to every page.

It does then limit you to only one icon (though exceptions may be possible with specifying another path per page), but really that's ok so that your browsers associate a small logo with your site. The purpose of a favicon is more that, like a small logo on your business card, not something that identifies each page, anyway.

kuau
12-23-2007, 06:25 AM
Dear Daniel:

Makes total sense.. thank you for clearing that up... can't tell you how many times I have moved the file around! Do you happen to know which is correct: <link rel="icon" or <link rel="shortcut icon" (see insanemonkey above)? And how do I get it to show up in IE7? If it works in FF, does that mean it will eventually work in IE if I just wait?

Thank you. Merry Christmas! erin :)

djr33
12-23-2007, 03:39 PM
http://tools.dynamicdrive.com/favicon/

According to the information there, "shortcut icon".

I'm not sure on any of this, but I have heard of troubles with favicons enough to made strong educated guesses. I hope it helps.

As for IE, there is something strange that will simply create a delay in IE accepting the new favicon. I have heard this can be around 72 hours, though it varies.
Dumping your cache might try to flush this, but that won't guarantee anything.
Wait a few days and see. If that doesn't fix it, then something may be wrong with the configuration.

Jerome
12-23-2007, 04:20 PM
I to have had my icon work on FF & NS for a long time but not IE and one day it hit my like a brick. Find an icon converter for free using google because although I had the right extension and code, my properties wwere not correct. I just did a search for you and although I did not use this converter I feel it will work for you.

Good Luck in the lions den!

http://www.flavicon.com/converter

The rest of you guys should have known better ;-)

djr33
12-23-2007, 04:33 PM
The rest of you guys should have known better ;-)What? And what's wrong with the converter here on DD? It certainly generates a valid icon. The rest is just implementing it correctly, which, if wrong, would be wrong the same way if you used another generator.

kuau
12-23-2007, 06:06 PM
Dear Daniel & Jerome:

I have always used the favicon generator on DD - I doubt the image itself is the problem because the ones I did last year (which are working fine) were from DD. I had googled "how to create a favicon" many times but the advice is inconsistent and the results even moreso. Even the W3C doesn't seem reliable (http://www.w3.org/2005/10/howto-favicon) and the 2005 in the url does not inspire confidence. My conclusions are that the proper place to put the favicon is in the root, and I'll let you know about the <link rel="shortcut icon" or <link rel="icon" because I have done one site using "shortcut" and another without, so we shall see. Thank you very much for your help. Aloha, erin :)

Jerome
12-23-2007, 09:52 PM
Did not know you had a converter here on DD so the DD one I recomend!

Did anyone suggest this as the solution prior if the code is coreect ;_0

kuau
12-25-2007, 04:19 PM
I did use the DD favicon generator and have valid 16x16 icons.
I did put the favicon.ico file in the root.
I used the following code in the <head> section (I tried the 1st version on one site, the 2nd on another):
<link rel="shortcut icon" type="image/ico" href="http://www.mydomain.com/favicon.ico" />
<link rel="icon" type="image/ico" href="http://www.mydomain.com/favicon.ico" />
I cleared my cache and waited days.
Both versions work fine in Firefox.
Both versions do NOT work in IE7.
I don't know what else I can do. Is there some extra step that is required in IE7 that has not been mentioned here? How can something so simple be such a time-waster??!

Thanks. Aloha, erin :)

BLiZZaRD
12-25-2007, 06:33 PM
Try looking for a possible solution here (http://www.5starsupport.com/info/ie7.htm#favicon) I am mainly talking about steps 5 - 8.

kuau
12-25-2007, 07:40 PM
Dear Blizzard: Oh my god! THANK YOU for putting me out of my misery! What finally got it to work in IE7 was clearing my History!! I had been clearing only my cache. Thank god that gestalt is now complete.

Did you notice how in that link they contradict themselves, saying first to upload the favicon to the root and then to the images directory? Nevertheless, it gave me the clue I needed. Mahalo plenty! And Mele kalikimaka!! erin :)

BLiZZaRD
12-25-2007, 08:06 PM
It wasn't a contradiction. For FX and most other favicon supporting browsers you upload it to the root only. You need a second one to link to (although I have found just linking to the root one is fine).

he mea 'ole, sometimes my 1500+ bookmarks are my "wahi pana"

;) Mele Kalikimaka to you too :)

kuau
12-25-2007, 08:42 PM
Dear Blizzard: Maybe I don't have this totally down. So is it better (more compatible) to have the favicon file in the root AND in the images directory, and then link to it as follows?

<link rel="shortcut icon" type="image/ico" href="http://www.mydomain.com/images/favicon.ico" />

It seems more people use "shortcut icon" than "icon" so maybe I'll standardize on that.

Mahalo again :) erin

PS. How do you know so much Hawaiian anyway? Most of my wahi pana are outdoors, which is where I should be right now instead of working... no doubt you too! haha

BLiZZaRD
12-25-2007, 09:47 PM
What I tend to do is use the root image and link to that. I haven't had any complaints and I use animated favicons as well. (I haven't updated for IE7 yet, mainly because my care level is down right now).

I would standardize to "shortcut icon", but you should be safe with just linking to the root image.

Although I don't think it would hurt anything to do both:



<link rel="shortcut icon" type="image/ico" href="http://www.mydomain.com/images/favicon.ico" />
<link rel="shortcut icon" type="image/ico" href="http://www.mydomain.com/favicon.ico" />


I know Hawaiian because I spent just over 2 years there, going to school. It was either be a Haole and fight my way through, or learn the language, (and the Pidgin) and become a makaainana.

I choose option B. :)

kuau
12-25-2007, 10:24 PM
Dear Blizzard: Shall take your advice re the favicon. I've never seen an animated favicon - got a link I could see please? I'm also curious about the comment "my care level is down right now." Does that mean you don't give a crap about IE7, or that your butler hasn't been around for a bit? :)

I'm impressed that you survived 2 years with the locals, although, if that is a photo of you, you look like you could kick some butt! You're way ahead of me on the pidgin. All I know is "Hey, bra, gimme one beer," and I detest beer so it's not that useful.

Thanks so much for your help, and for making me smile. :) erin

BLiZZaRD
12-25-2007, 10:35 PM
my first animated favicon is here: http://cleverwasteoftime.com

I am working on others but it is delayed as I have too much to do as it is (my game designs are WAYYYYY behind schedule).

My care level is down means I don't give a crap about IE (any version) and I don't worry about coding for it until everything else works first.

I was a lot smaller when I was there, but I made friends with the football team first thing, so that helped. If you can make to Mokes laugh, you are in. Just don't be cocky :)

And "bruddah" goes a lot farther with them than "bra" ;)

kuau
12-25-2007, 11:36 PM
Cool icon and very cool site! I even like the name. Thanks!

Also thanks for the tips. (At 100 lbs I try not to be cocky in general haha)

Aloha bruddah! :) erin