iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
IT Discussion Forum Having IT issues? Got IT questions? Who doesn't? If you can't get your Apache to work with your MySQL or your php is choking on your ODBC... Let's see if we can help you come up with some ideas.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-17-2008, 03:35 PM
frost's Avatar
WebProWorld Member
 
Join Date: Jul 2008
Posts: 46
frost RepRank 0
Default Favicon Tag?

I thought I knew what a favicon tag looked like until I recently started checking my error logs, there were tons of 404 errors for favicon.gif and favicon.ico!

Doing some checking I found out that there are two tags for adding a favicon. I guess different browsers check for different tags?

Quote:
<LINK rel="SHORTCUT ICON" href="http://www.domain.com/favico.ico" />
<link rel="icon" type="image/png" href="http://www.domain.com/favicon.png">
Are these right? How do I take into account the .gif format?
Reply With Quote
  #2 (permalink)  
Old 11-17-2008, 04:31 PM
Dubbya's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: Nov 2006
Location: Steinbach, Manitoba, Canada
Posts: 1,298
Dubbya RepRank 4Dubbya RepRank 4Dubbya RepRank 4Dubbya RepRank 4Dubbya RepRank 4
Default Re: Favicon Tag?

I'm pretty sure the favicon has to be an .ico file for it to show up in the addressbar in IE while other browsers can use the .gif.

Forget about the .gif image and just use an .ico file. Make the one reference in your header and you're good to go in all browsers.

HTML Code:
<link rel="shortcut icon" href="http://www.yoursite.com/favicon.ico"/>
You might have to bookmark the site before IE will display the icon.

If you want to, you can do a search for ".ico converter" and find plenty of free applications that'll let you do some pretty sweet icons.

.02
Reply With Quote
  #3 (permalink)  
Old 11-17-2008, 04:45 PM
frost's Avatar
WebProWorld Member
 
Join Date: Jul 2008
Posts: 46
frost RepRank 0
Default Re: Favicon Tag?

Thanks dubbya, I already have the favicons created but I can't figure out why favicon.gif is showing in my error logs if I have a reference to a .ico already?
Reply With Quote
  #4 (permalink)  
Old 11-18-2008, 07:05 PM
WebProWorld Veteran
 
Join Date: Apr 2004
Posts: 349
imvain2 RepRank 1
Default Re: Favicon Tag?

for some reason some browser is trying to access your favicon.gif file.

An easy solution is just to create a favicon.gif file and put it in the root directory of your website. This is where the favicon.ico by default is looked for if the link html tag isn't pointing elsewhere. So I would assume the .gif file is searched for within the root directory.
Reply With Quote
  #5 (permalink)  
Old 11-18-2008, 07:19 PM
Orion's Avatar
WebProWorld Veteran
WebProWorld MVP
 
Join Date: Sep 2003
Location: Halton Hills, ON
Posts: 702
Orion RepRank 4Orion RepRank 4Orion RepRank 4Orion RepRank 4
Default Re: Favicon Tag?

For a few years now that entire link thing is not necessary..

Simply create your favicon.ico file (name it favicon.ico) upload it to the public html directory of your website and you're done.. Firefox, Chrome, Opera, Safari and IE will use that favicon file for book marks etc. all of them except IE will also use it on the browser tabs.
Reply With Quote
  #6 (permalink)  
Old 11-18-2008, 07:20 PM
frost's Avatar
WebProWorld Member
 
Join Date: Jul 2008
Posts: 46
frost RepRank 0
Default Re: Favicon Tag?

That is what I have done and it IS working but my error logs are showing favicon.gif errors and I was hoping to get rid of them.
Reply With Quote
  #7 (permalink)  
Old 11-18-2008, 07:27 PM
WebProWorld Veteran
 
Join Date: Apr 2004
Posts: 349
imvain2 RepRank 1
Default Re: Favicon Tag?

Quote:
Originally Posted by frost View Post
That is what I have done and it IS working but my error logs are showing favicon.gif errors and I was hoping to get rid of them.
my above post is an easy solution for this.


For the link tag not being needed. This is actually not entirely accurate. It is needed if the icon is for some reason sitting in a different folder or a different file name then the expected root folder and favicon.ico structure.
Reply With Quote
  #8 (permalink)  
Old 11-18-2008, 09:08 PM
WebProWorld Member
 
Join Date: Aug 2007
Posts: 38
Arctic Fox RepRank 2
Default Re: Favicon Tag?

favicon.gif is used by Firefox. If you visit my site using Firefox, you'll see I have an animated .gif for my favicon.
Reply With Quote
  #9 (permalink)  
Old 11-19-2008, 02:05 AM
ron angel's Avatar
WebProWorld Veteran
 
Join Date: Jan 2004
Location: london uk
Posts: 336
ron angel RepRank 2ron angel RepRank 2
Default Re: Favicon Tag?

Quote:
Originally Posted by frost View Post
That is what I have done and it IS working but my error logs are showing favicon.gif errors and I was hoping to get rid of them.
I sometimes see the same thing in my logs for a particular directory
there are not any there but somebody seems to have a link to the files which seems pointless to me, for were they to exist in the location then all the person would see is a blank page with an icon on it!
The simplest solution would be to put copy's of the files that they are looking for in those directory's but I think it is better to just let them get an error page which links back to the index page & sitemap. mine has all sorts of links from it and advertising!
__________________
historical information links re uk and usa
http://www.ssrichardmontgomery.com
Reply With Quote
  #10 (permalink)  
Old 11-19-2008, 04:12 PM
WebProWorld Veteran
 
Join Date: Apr 2004
Posts: 349
imvain2 RepRank 1
Default Re: Favicon Tag?

Quote:
Originally Posted by ron angel View Post
I sometimes see the same thing in my logs for a particular directory
there are not any there but somebody seems to have a link to the files which seems pointless to me, for were they to exist in the location then all the person would see is a blank page with an icon on it!
The simplest solution would be to put copy's of the files that they are looking for in those directory's but I think it is better to just let them get an error page which links back to the index page & sitemap. mine has all sorts of links from it and advertising!
Actually, its not the same thing. When firefox looks for favicon.gif, it isn't pulling the page through the browser, it is pulling the icon for the tabs, favorites and the address bar icon.

So to stop that file from showing up in your stats, simply create the gif version of your ico file and upload it to the directory where the error is coming from.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > IT Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Favicon Trouble craigmn3 Graphics & Design Discussion Forum 1 10-17-2007 02:20 PM
Favicon Curve Appeal Graphics & Design Discussion Forum 3 06-14-2007 07:54 PM
Favicon souvik das Graphics & Design Discussion Forum 3 10-06-2005 01:50 PM
WPW favicon.ico wednesday WebProWorld: Guidelines/Announcements/Suggestions 3 03-03-2005 04:03 PM
Favicon information technica Graphics & Design Discussion Forum 10 03-17-2004 03:21 PM


All times are GMT -4. The time now is 10:18 PM.



Search Engine Optimization by vBSEO 3.3.0