We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message
Contact Forum Editor

Send an email to our Forum Editor:


PLEASE NOTE: Your name is used only to let the Forum Editor know who sent the message. Both your name and email address will not be used for any other purpose.

Tech Helproom


It's free to register, to post a question or to start / join a discussion


 

Favicon 'problem'


Chris the Ancient

Likes # 0

Generated a favicon for my website.

Shows OK locally, but not on remote server.

Any thoughts/ideas why?

Like this post
cycoze

Likes # 0

Make sure the icon is placed in the root directory along with your web pages on the server.

You can also add the follwing line of code in the head section of you're page...

<link rel="shortcut icon" href="/favicon.ico">

Like this post
Chris the Ancient

Likes # 0

Maybe me putting the icon in the _images directory has confused things. Apart from that it *looks* about the same.

More experimenting tomorrow as it's not a drop-dead problem.

Like this post
Chris the Ancient

Likes # 0

Relocated the favicon in the public root folder (and changed the header).

Still shows on my local view but not on the remote server.

Still, not a major problem.

Like this post
Fermat's Theorem

Likes # 0

that, sometimes, the favicon works in Firefox but not in IE (and vice versa).

As you say, not a major problem - but one of those teasers that exercise the grey matter from time to time :-)

Like this post
Chris the Ancient

Likes # 0

Yup, it's a teaser! Just darned frustrating trying to work out why. Nobody else's favicons 'disappear' that I know of. Even more frustrating when it works in Firefox on my computer; but not in Firefox from the server |0(

As the remote server is run by a friend, I think I shall plonk the problem in his ans see what he makes of it }-))

Like this post
Fermat's Theorem

Likes # 0

I have put the favicon image in the RES folder, not the root folder from which it works in both Firefox and IE with the following code in the head <link rel="Shortcut Icon" href="res/favicon.ico" type="image/x-icon" />

Maybe this helps?

Like this post
Chris the Ancient

Likes # 0

... my host server doesn't provision a RES folder that I can see.

When the 3-day weekend is over, I'll put it in the hands of my host.

Like this post

Reply to this topic

This thread has been locked.



IDG UK Sites

45 Best Android games: top Android games for your smartphone or tablet in 2014 (24 are free!)

IDG UK Sites

How Apple, Adobe, Microsoft and others have let us down over UltraHD and hiDPI screens

IDG UK Sites

Do you have the X-Factor too? Mix Off app puts fans in the frame

IDG UK Sites

iPad Pro release date, rumours and leaked images - 12.9 screen 'coming in 2015'