dslreports logo
 
    All Forums Hot Topics Gallery
spc
Search similar:


uniqs
1429

disconnected
@32.220.44.x

disconnected

Anon

[windows hosting] favicon not appearing in browsers

I am trying to get a small icon to appear in the browser when my site is loaded.
I've Googled the problem and tried each recommendation that people claimed to have worked for them, but in none of the situations do I get a logo appearing in the browser tab for my site.

Since I host 8 sites on one server, each site is in a sub folder. And Namecheap uses sub.domain to access specific resources.

For instance, if I type "sub.ampexperts.com/ampexperts/images/logo.ico" into the browser, I will see the logo, both in the client area and in the tab. However, the same code entered into the page header doesn't work.

I even tried putting the same logo named 'favicon.ico' into the root of the server, but none of the browsers pick it up. Here's what I have in my index.htm header now:

<A HREF="sub.ampexperts.com/ampexperts/images/logo.ico?v=2type=image/x-icon">
 
<A HREF="sub.ampexperts.com/ampexperts/images/logo.ico?v=2type=image/x-icon/">
 
 

According to all my research, this SHOULD be working, but it doesn't.
I'm running IIS 5.x, so am wondering if that version doesn't support this feature? (I built up a Windows 7 server last winter, but could not get anything but the example web site to display, so after a few months, I had to go back to Windows XP, which works.)

MarkRH
Premium Member
join:2005-02-08
Edmond, OK
ARRIS BGW210-700
ARRIS TM3402
Asus RT-AC68

MarkRH

Premium Member

If I browse to sub.ampexperts.com then I see the favicon. It seems to be showing »sub.ampexperts.com/favicon.ico. If I browse to ampexperts.com then I do not.

Try copying that favicon.ico into the /ampexperts/ directory since that is the root directory for that domain and is where browsers will automatically look for one.

disconnected
@32.220.44.x

disconnected

Anon

I've got a copy of favicon.ico in the ampexperts\ 'root' folder, too, but it's not being picked up by the browser.
Somewhere else, I read it might have to do with a problem with mime types, but if I can see the icon when using a direct URL, it can't be that.
Such a seemingly simple thing, yet so difficult to make it work.
disconnected

disconnected to MarkRH

Anon

to MarkRH
The validator gives this result:

»www.ampexperts.com was checked but could not find a valid favicon.
Details:
Found the web page at:
»www.ampexperts.com (1.24 KB)

Found tag that specify a favicon:


Could not download favicon at:
»
www.ampexperts.com/

Now what?

MarkRH
Premium Member
join:2005-02-08
Edmond, OK
ARRIS BGW210-700
ARRIS TM3402
Asus RT-AC68

MarkRH to disconnected

Premium Member

to disconnected
Ok.. Looking at the source code that »www.ampexperts.com/ is using, here's where the problem is:
<link href=" " rel="shortcut icon" type="image/x-icon">
 

Try this:

<link href="http://sub.ampexperts.com/ampexperts/favicon.ico" rel="shortcut icon" type="image/x-icon">
 

You may have to do a force refresh on the browser to make it load the icon.

disconnected
@32.220.44.x

disconnected

Anon

After several experiments, I have copies of favicon.ico on various parts of the server:

server root
/ampexperts root

..and I also have a version of it named 'logo.ico' residing in the /images folder below /ampexperts.

I now have three lines referencing all of these:

<A HREF="sub.ampexperts.com/ampexperts/images/logo.ico?v=2type=image/x-icon/">
<A HREF="sub.ampexperts.com/ampexperts/images/logo.ico?v=2type=image/x-icon">
<A HREF="http://sub.ampexperts.com/ampexperts/favicon.icorel=shortcuticontype=image/x-icon">
 

Is anyone seeing the icon yet? Doesn't appear for me.

MarkRH
Premium Member
join:2005-02-08
Edmond, OK
ARRIS BGW210-700
ARRIS TM3402
Asus RT-AC68

MarkRH to disconnected

Premium Member

to disconnected
The code you need to modify is the one that contains the frameset declaration content:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv='content-type' content='text/html; charset=UTF-8'>
<meta name="KEYWORDS" content="We do repairs on most any audio amplifier, including musical instrument amps, hi-fi, vintage audio, vacuum tube audio, equalizers, processors and similar equipment.">
<meta name="DESCRIPTION" content="amplifier repair in New Milford, CT, Brookfield, Danbury, ??????, vacuum tubes, vintage audio, guitar amps, keyboard amps, hi-fi, New Milford, Brookfield, Danbury, Kent, Connecticut">
<meta name="VERSION" content="">
<meta name="DATA" content="fwdnode3.registrar-servers.com (208.64.122.246)">
<link href=" " rel="shortcut icon" type="image/x-icon">
<title>Amplifier Experts - Audio Amplifier Repair Services</title>
</head>
<frameset rows='100%, *' frameborder=no framespacing=0 border=0>
<frame src="http://sub.ampexperts.com/ampexperts" name=mainwindow frameborder=no framespacing=0 marginheight=0 marginwidth=0></frame>
</frameset>
<noframes><h2>Your browser does not support frames. We recommend upgrading your browser.</h2><br><br>
<center>Click <a href="http://sub.ampexperts.com/ampexperts" >here</a> to enter the site.</center>
</noframes>
</html>
 

That link line above needs to be changed to:
<link href="http://sub.ampexperts.com/ampexperts/favicon.ico" rel="shortcut icon" type="image/x-icon">
 

disconnected
@32.220.44.x

disconnected

Anon

That's completely different than what's in my index.htm page. I avoided the use of frames on this site to speed load times, so I don't understand where the reference to frames is coming from. Here's the preamble of my code:

 
<A HREF="sub.ampexperts.com/ampexperts/images/logo.ico?v=2type=image/x-icon/">
<A HREF="sub.ampexperts.com/ampexperts/images/logo.ico?v=2type=image/x-icon">
<A HREF="http://sub.ampexperts.com/ampexperts/favicon.icorel=shortcuticontype=image/x-icon">
 
Amplifier Experts - Audio Amplifier Repair Services
 
A:hover {color: #FF0000; text-decoration: none}
 
A:link {background: #FFCC00; text-decoration: none}
A:visited {background: #FFCC00; text-decoration: none}
A:active {background: #FFCC00; text-decoration: none}
A:hover {background: #00CC00; font-weight:bold; color: red; text-decoration: none}
 
 

I wonder why it's getting altered on the way to the browser?

MarkRH
Premium Member
join:2005-02-08
Edmond, OK
ARRIS BGW210-700
ARRIS TM3402
Asus RT-AC68

MarkRH to disconnected

Premium Member

to disconnected
That is one wacky setup for a webhost. You need to get in contact with Namecheap and ask them where that file/code is coming from. If it's one they are in control of to act as a wrapper for your content, then they need to change that line to load the proper favicon for your site. That's what the browser is looking at

I've never used those guys so I have no clue what they are doing on their end. I looked at the page info in Firefox and this is what it's trying to get as the favicon:




It's getting it from the link line that doesn't reference anything for the source.

disconnected
@32.220.44.x

disconnected

Anon

I suspect some of the problems are the result of dynamic DNS hosting. I did some research and it appears that Namecheap is redirecting in a frame. They have frame metatags, but they don't have a way to reference a favicon from a frame. I'll put in a tech support request for a feature request and see what they say.
The only way to get the favicon to show is to replace www with sub on this domain name/ampexperts. Too cumbersome.