Page Index Toggle Pages: 1 [2] 
Topic Tools
Hot Topic (More than 10 Replies) Where to put the link to favicon? (Read 183 times)
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online



Posts: 2,472
Location: Earth

YaBB 2.6.1
Re: Where to put the link to favicon?
Reply #15 - Feb 8th, 2013 at 4:01pm
Post Tools
Homer J. S. wrote on Feb 8th, 2013 at 1:48pm:
I'm still interested in WHY the icon does only work if the url has no anchor.



As Bill pointed out - that's the way it is.

(And in some forum software, there's no way to bookmark a single post as they don't use any individual post anchors on the page.)
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Bill Myers
God Member
Beta Testers
*****
Offline



Posts: 1,723
Location: Los Angeles

YaBB 2.4
Re: Where to put the link to favicon?
Reply #16 - Feb 8th, 2013 at 5:39pm
Post Tools
Homer J. S. wrote on Feb 8th, 2013 at 1:48pm:
I'm still interested in WHY the icon does only work if the url has no anchor.

I'm with you on that. Smiley

What I've determined is that you and I aren't doing anything wrong per se because this is evidently a browser issue.

Specifics regarding anchors (at least for me in our forum):

Chrome and Safari work just fine. Even with an anchor, our favicon.ico appears each and every time in both browsers.

Firefox works fine except when an anchor is used, in which case our favicon.ico does not appear.

Internet Explorer only displays its own favicon.ico - ours never appears. It should be noted, however, in Carsten's forum his favicon does appear; including the address bar! Plus, his also appears even when an anchor is used. I'm amazed!

My gut is telling me there's a cache issue of some kind on my end that's causing problems with the various browsers rather than the browsers themselves.

Still, I prefer to blame the browsers. Cheesy

  

Morning, noon, or night, have a great one!

Note: This forum doesn't allow for us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.
Back to top
IP Logged
 
Homer J. S.
God Member
*****
Offline



Posts: 1,949
Location: Germany

None
Re: Where to put the link to favicon?
Reply #17 - Feb 8th, 2013 at 9:40pm
Post Tools
My icon now also appears with anchors because I put it into the root folder of the domain. But that's only working if all sites of a domain use the same icon.
  

My Homer is not a communist. He may be a liar, a pig, an idiot, a communist, but he is not a porn star.
www.silenthill-forum.de (YaBB 1.3.1 with 150+ mods)
www.retrogamerwelt.de (YaBB 2.5.2)
Back to top
WWWICQ  
IP Logged
 
Bill Myers
God Member
Beta Testers
*****
Offline



Posts: 1,723
Location: Los Angeles

YaBB 2.4
Re: Where to put the link to favicon?
Reply #18 - Feb 8th, 2013 at 9:44pm
Post Tools
Good to know.

I wonder if different sites on the same domain can use different favicons if they're all put in the root folder?

In other words:

Site 1 could use favicon.ico - site 2 could use favicon2.ico - site 3 could use favicon3.ico - and so on, and so forth.

  

Morning, noon, or night, have a great one!

Note: This forum doesn't allow for us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.
Back to top
IP Logged
 
Homer J. S.
God Member
*****
Offline



Posts: 1,949
Location: Germany

None
Re: Where to put the link to favicon?
Reply #19 - Feb 9th, 2013 at 10:49am
Post Tools
Hm... never tried that. My older pojects all use the same favicon. But it would be interesting to know.
  

My Homer is not a communist. He may be a liar, a pig, an idiot, a communist, but he is not a porn star.
www.silenthill-forum.de (YaBB 1.3.1 with 150+ mods)
www.retrogamerwelt.de (YaBB 2.5.2)
Back to top
WWWICQ  
IP Logged
 
Derek Bullock
Ex Member


Re: Where to put the link to favicon?
Reply #20 - Feb 25th, 2013 at 10:42pm
Post Tools
Quote:


If anyone is interested there is an Add-On for Firefox that restores Favicons to the location bar in the browser.

https://addons.mozilla.org/en-US/firefox/addon/favicon-restorer/?src=api
  
Back to top
 
IP Logged
 
Bill Myers
God Member
Beta Testers
*****
Offline



Posts: 1,723
Location: Los Angeles

YaBB 2.4
Re: Where to put the link to favicon?
Reply #21 - Feb 26th, 2013 at 12:09am
Post Tools
Quote:
If anyone is interested there is an Add-On for Firefox that restores Favicons to the location bar in the browser.

https://addons.mozilla.org/en-US/firefox/addon/favicon-restorer/?src=api

That favicon address bar restorer worked perfectly Smiley

« Last Edit: Feb 26th, 2013 at 1:22am by Bill Myers »  

Morning, noon, or night, have a great one!

Note: This forum doesn't allow for us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.
Back to top
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 4,026
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: Where to put the link to favicon?
Reply #22 - Feb 27th, 2013 at 2:15pm
Post Tools
"In theory" only - a 'host' only has one favicon and it is always in the root of the web.  That's the only place bots and browsers look for it.  In this case the term 'host' is in the true server/subdomain sense.

www.myhosty.com
trust.myhosty.com
portal.myhosty.com


are all hostnames (Linux speak) on the same domain.

Those could be vhosts (Apache)  or virtual webservers (IIS) on the same physical server OR be totally separate machines - that all comes down to DNS resolution.

Wink

Edited:
just like robots.txt  Exclaim
« Last Edit: Feb 27th, 2013 at 2:25pm by JonB »  

I find your lack of faith disturbing.
Back to top
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online



Posts: 2,472
Location: Earth

YaBB 2.6.1
Re: Where to put the link to favicon?
Reply #23 - Feb 27th, 2013 at 5:56pm
Post Tools
But most browsers will also look for a
Code
Select All
<link rel="icon" type="image/gif" href="favicon.gif" /> 

line in an html page to see if the favicon should be something different than favicon.ico.

  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Topic Tools