Question

favicon just not working

Asked by: Type25


Created an icon from one of these favicon sites which seems fine.

Put it in my root directory
Point to it with the LINK REL SHORTCUT ICON tag

No joy in firefox or IE

What am i doing wrong?  I've been through all the favicon sites but i'm running out of options

Help!

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2007-01-05 at 02:08:09ID22111978
Tags

favicon

Topic

Miscellaneous Web Development

Participating Experts
4
Points
500
Comments
32

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. ShortCut
    How can i make a shortcut
  2. Firefox and link rel="stylesheet"
    When I link to a stylesheet, firefox won't use it! If I put the same stuff in <style> </style> it works fine. It works in every other browser. How do I fix it? http://www.claydesign.com http://beta.claydesign.com Thanks -Coolhand2120

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: ingwaPosted on 2007-01-05 at 02:10:45ID: 18250167

A fav icon is done by:

<link rel="SHORTCUT ICON" href="favicon.ico">

If it's not working, have the browsers actually been able to find the ico file?

 

by: angelIIIPosted on 2007-01-05 at 02:13:36ID: 18250176

>Put it in my root directory
the root directory of the web servers' documents, so NOT C:\ of the web server, but like D:\www\  for example...

 

by: Type25Posted on 2007-01-05 at 02:15:09ID: 18250181

>> If it's not working, have the browsers actually been able to find the ico file?

Good question, how do i find out?

angelIII, yep i know C:\ isn't the root,  i meant as in C:\inetput\wwwroot\myapp\

Still isn't working

 

by: karlsfrePosted on 2007-01-05 at 02:16:21ID: 18250186

There are two ways to get a favicon into a page. The easiest is to put the file into the domain root and call it favicon.ico.

Example: http://www.donedeal.ie/favicon.ico

Both FireFox and IE will actually display the icon if you type in the URL. If you do not see the icon when typing in the URL, then your file is probably broken and does not contain a valid icon.

Note that the file must be at the very top of the URL, you cannot put the file into a folder. For example, http://www.donedeal.ie/donedeal/favicon.ico would not work.

Try uploading your icon to your domain, and if it still does not work, please send me the URL and I will have a look at what may be going wrong.

Also, if you do not have access to the root of your domain (for example, you only have access to a certain directory like www.somesite.com/type25/), please let me know and I will show you how to use the LINK tag instead.


Fred

 

by: karlsfrePosted on 2007-01-05 at 02:17:40ID: 18250190

Note that it should be in the root for the whole website (C:\inetput\wwwroot), not in the root for your application (C:\inetput\wwwroot\myapp\)


Fred

 

by: angelIIIPosted on 2007-01-05 at 02:18:39ID: 18250196

I agree with karlsfre, move the file into
n C:\inetput\wwwroot\

 

by: Type25Posted on 2007-01-05 at 02:32:08ID: 18250243

Nothing is working.

Put in the root and nothing, tried about 10 different icons all 16x16px

ugh, no real easy way to see why it isn't working

 

by: Type25Posted on 2007-01-05 at 02:38:55ID: 18250260

www.servicemastersams.com is where it's not working.

Doesn't work locally either.

 

by: angelIIIPosted on 2007-01-05 at 02:46:35ID: 18250283

this works: http://www.servicemastersams.com/favicon.ico

this works: http://217.199.181.81/

this does not work: this works: http://www.servicemastersams.com/

now, I could not locate the code where the favicon is linked in any of your pages?

as ingwa posted:
<link rel="SHORTCUT ICON" href="favicon.ico">

or this:
<link rel="SHORTCUT ICON" href="http://217.199.181.81/favicon.ico">

is required in the <HEAD> section of your pages

 

by: mplungjanPosted on 2007-01-05 at 02:48:46ID: 18250294

Try loading the page that is in the frame.

 

by: Type25Posted on 2007-01-05 at 02:49:27ID: 18250296

Bizzare, it works in mozilla but not IE - why?

I didn't think the shortcut icon link was needed if it was in the root?  

 

by: Type25Posted on 2007-01-05 at 02:51:25ID: 18250305

It doesn't use frames!

 

by: Type25Posted on 2007-01-05 at 02:56:15ID: 18250318

For what it's worth i put:

<link rel="SHORTCUT ICON" href="http://217.199.181.81/favicon.ico">

on the Login.aspx page and it still doesn't work :(

 

by: angelIIIPosted on 2007-01-05 at 02:56:26ID: 18250320

>It doesn't use frames!
well, it does, although only a single one:

<HTML><HEAD>
<META NAME="description" content="">
<META NAME="keywords" content="">
<TITLE>samsweb</TITLE>

</HEAD>
<FRAMESET ROWS="100%,*" BORDER="0" FRAMEBORDER="0">
<FRAME SRC="http://217.199.181.81/" SCROLLING="AUTO" NAME="bannerframe" NORESIZE>
</FRAMESET>
<NOFRAMES>
samsweb
<P>
<DIV ALIGN="CENTER"><A HREF="http://217.199.181.81/">http://servicemastersams.com/</A></DIV>
</NOFRAMES>
</HTML>

 

by: angelIIIPosted on 2007-01-05 at 02:57:52ID: 18250324

>For what it's worth i put ... on the Login.aspx page and it still doesn't work :(

you need it in the default page (index.aspx ?)...

 

by: Type25Posted on 2007-01-05 at 02:59:59ID: 18250328

angelIII

IIS automatically fowards the request to Login.aspx, the site doesn't have an index.aspx.
It does have a default.aspx but the user gets forwarded to that after Login.aspx

I'm confused, where did you find the frame page?????

 

by: karlsfrePosted on 2007-01-05 at 03:03:23ID: 18250335

I think the problem is that your webserver does not flag the favicon.ico file with the right mime type. The mime type should be set to "image/x-icon".

In Apache you do this by adding the following line to httpd.conf

AddType "image/x-icon" "ico"


 

by: Type25Posted on 2007-01-05 at 03:04:08ID: 18250338

karlsfre

We use IIS

 

by: angelIIIPosted on 2007-01-05 at 03:16:16ID: 18250377

>I'm confused, where did you find the frame page?????
I opened the page:
http://servicemastersams.com/

and looked at the page source of that.

 

by: karlsfrePosted on 2007-01-05 at 03:42:28ID: 18250458

In IIS, go to the website properties, click HTTP Headers and then File Types. Add a type with extension ico and type image/x-icon.

If you have LiveHTTPHeader extension installed in FireFox you can see the mime type that the server is reporting back for your file. Once you have added the type your file should be reported as image/x-icon, and the browser will then pick it up.

Fred

 

by: Type25Posted on 2007-01-05 at 03:45:40ID: 18250465

I'm so confused, no where in inetput directory (the entire dir and sub directories) is there a file with the words <TITLE>samsweb</TITLE>

It doesn't exist anywhere.

Stupid thing is, i remember doing that frames page now, but for the life of me i can't work out where it is!!

 

by: angelIIIPosted on 2007-01-05 at 04:18:38ID: 18250610

maybe you are not looking on the correct server?
note that the ip address in the frame page does not correspond to the public ip address of the web address servicemastersams.com

in the frameset: 217.199.181.81
public ip address of  servicemastersams.com: 82.165.84.201

 

by: Type25Posted on 2007-01-05 at 04:29:56ID: 18250658

Ah, oneandone.co.uk do a forward to their own frameset thing and you can set the page title on your own admin page from their website, i was wondering why i couldn't find that!

Thanks for that.

Still can't get the icon working.

http://217.199.181.81/    forwards to our default website which is my application

 

by: mplungjanPosted on 2007-01-05 at 04:44:00ID: 18250721


http://217.199.181.81/    shows the favicon just fine

 

by: ingwaPosted on 2007-01-05 at 04:44:08ID: 18250723

Hi,

http://217.199.181.81/ is working and contains the icon.  I tested both using IE and firefox.

If you are working with multiple sites here, I would highly recommend you edit each "homepage" to contain it.  If it's a frame set, put the icon call in the frameset mapping page.  For example, I saw above that you have a frameset page, the icon needs to go into that page.  Alternatively, as you are running IIS, I believe theres a feature to parse out headers for every page that is served.  You may want to put it in there, and then every page in your site would have the icon code in it.

If it works for some browsers and not for others, that means those browsers don't yet support icons.  You will need to upgrade your browser if they now support them, otherwise you won't be able to use them on those browsers.

 

by: Type25Posted on 2007-01-05 at 04:48:09ID: 18250749

That's strange, in IE7 the icon doesn't appear if i navigate to this: http://217.199.181.81/

Does in firefox though.

The problem is, it's oneandone.co.uk which contains the frameset (which i don't have access too)

I think i could probably do this by just doing a standard forward (without frameset's involved) and then create my own frameset on my site, that would probably work.

A lot of effort for a blimin icon.

 

by: karlsfrePosted on 2007-01-05 at 04:50:55ID: 18250761

As you are using a frameset you must do one of the following two things:

1. Put the favicon.ico file in the root on the root of servicemastersams.com (82.165.84.201).
2. Or you must modify the frameset page on 82.165.84.201 to include the "link rel" tag.

Note that you MUST do the updates to the 82.165.84.201 server, as that is the top level page that the browser loads. If you cannot do updates to that server, the only thing I can recommend is that you publish a page that automatically redirects the browser to http://217.199.181.81/Login.aspx. This means the user won't see the nice domain name, instead the address bar will say the ugly IP address. But it is the only way.

 

by: Type25Posted on 2007-01-05 at 04:59:56ID: 18250795

karlsfre, you're right indeed.....

Unfortunately i don't get access to their server to modify that! argh  
I've emailed them to see what they say but i'm thinking they'll say 'bugger off.

I need to mask the url as well so thats a no-goer

 

by: ingwaPosted on 2007-01-05 at 05:02:56ID: 18250812

Hi Type,

If you don't have any luck with 1&1 in doing the update then I'm afraid there won't be any other way to force the icon into the page without either redirecting the user or editing the frameset directly.

Good luck.

 

by: ingwaPosted on 2007-03-29 at 04:55:25ID: 18815158

hi Pinaldave, I would be interested in the disposition of this question.  I believe the bits of code I have provided should help the questioner as they are standard.  Additionally I think that it's possible the questioners browser may be blocking or incorrectly handling the icons, or it's a block from the hosting side of things.  Addtionally angelIII has provided some useful debugging information to assist.  We haven't heard back from the questioner, so I am only assuming that they have the situation resolved.

 

by: mplungjanPosted on 2007-03-29 at 05:01:32ID: 18815192

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...