A question about favicons

liunx

Guest
<!-- w --><a class="postlink" href="http://www.dragonslair.co.nr">www.dragonslair.co.nr</a><!-- w --><br />
<br />
Have a look at the homepage. There is supposed to be a favicon on the page. WHY ISN'T IT COMING UP!!:). I have tried everything but nothing seems to work. Perhaps someone could look at the source of the page and tell me what was wrong.<!--content-->1. Make sure you place your 16x16 pix "Favicon.ico" in every single folder that contains HTML files.<br />
2. Place this code in the <head> of each HTML page: <link rel="shortcut icon" href=http://www.webdeveloper.com/forum/archive/index.php/"favicon.ico"><br />
3. The icon will only show after you have added the site to your favorites.<br />
<br />
Cheers, Jochem :cool:<!--content-->I have tried to add the page to the favourites but i doesnt work :)<br />
<br />
Well, I only have one directory. The only other directory i have is an images directory that is blank (god knows why i havent deleted it yet!!!) so i think the first point is ruled out.<br />
<br />
For the second point, do i really HAVE to put the code on every single page, what if i wanted it to work for the hompage only?<!--content-->1 and 2 could be written like this, to make it easier:<br />
<br />
1. Place your 16x16 pix "favicon.ico" in your root directory<br />
2. Place this code in the <head> of each HTML page you want the icon to appear on: <link rel="Shortcut Icon" href=http://www.webdeveloper.com/forum/archive/index.php/"/favicon.ico" type="image/x-icon"><!--content-->ok<br />
ill try it<br />
then ill reply, but i dont think it will be up until tomorrow, so u guys can chill out a litle bit :cool: :D<!--content-->I don't seem to be very good at html. I'll give you the information about the icon and the website, then, can u generte for me the code i need to use?<br />
<br />
Ok<br />
<br />
The webiste address is :http://dragonslair.europe.webmatrixhosting.net<br />
<br />
The icon name is favicon.ico and is placed in the root directory<br />
<br />
The address of the favicon is:http://dragonslair.europe.webmatrixhosting.net/favicon.ico<br />
<br />
so, can u please generate the code for me??:)<!--content-->I tried what u said and it worked.<br />
<br />
Now, another problem has arisen.<br />
<br />
The favicon is only visible when you access the site directly which is dragonslair.europe.webmatrixhosting.net<br />
<br />
If the site is accessed with dragonslair.co.nr it doesnt work, how should i solve it???<!--content-->Upload the favicon and insert the <link> tag on the pages at the other domain...<!--content-->I dont think that will work :rolleyes: because the domain is a mask which redirects you to the actual site :D<!--content-->I couldn't see where you inserted this code on your pages:<br />
<br />
<link rel="Shortcut Icon" href=http://www.webdeveloper.com/forum/archive/index.php/"/favicon.ico" type="image/x-icon"><!--content-->I also visited the page and was not able to pick out where the link was.<br />
<br />
<br />
But, I saw this, and I was wondering what it was. I have seen this exact thing on another site.<br />
<br />
<br />
<!--[if !mso]><br />
<style><br />
v\:* { behavior: url(#default#VML) }<br />
o\:* { behavior: url(#default#VML) }<br />
.shape { behavior: url(#default#VML) }<br />
</style><br />
<![endif]--><!--[if gte mso 9]><br />
<xml><o:shapedefaults v:ext="edit" spidmax="1027"/><br />
</xml><![endif]--><br />
</head><br />
<br />
<body bgcolor="#000000" text="#FFFFFF"><br />
<br />
<p align="center"><!--[if gte vml 1]><v:shapetype id="_x0000_t136"<br />
coordsize="21600,21600" o:spt="136" adj="10800" path="m@7,l@8,m@5,21600l@6,21600e"><br />
<v:formulas><br />
<v:f eqn="sum #0 0 10800"/><br />
<v:f eqn="prod #0 2 1"/><br />
<v:f eqn="sum 21600 0 @1"/><br />
<v:f eqn="sum 0 0 @2"/><br />
<v:f eqn="sum 21600 0 @3"/><br />
<v:f eqn="if @0 @3 0"/><br />
<v:f eqn="if @0 21600 @1"/><br />
<v:f eqn="if @0 0 @2"/><br />
<v:f eqn="if @0 @4 21600"/><br />
<v:f eqn="mid @5 @6"/><br />
<v:f eqn="mid @8 @5"/><br />
<v:f eqn="mid @7 @8"/><br />
<v:f eqn="mid @6 @7"/><br />
<v:f eqn="sum @6 0 @5"/><br />
</v:formulas><br />
<v:path textpathok="t" o:connecttype="custom" o:connectlocs="@9,0;@10,10800;@11,21600;@12,10800"<br />
o:connectangles="270,180,90,0"/><br />
<v:textpath on="t" fitshape="t"/><br />
<v:handles><br />
<v:h position="#0,bottomRight" xrange="6629,14971"/><br />
</v:handles><br />
<o:lock v:ext="edit" text="t" shapetype="t"/><br />
</v:shapetype><v:shape id="_x0000_s1025" type="#_x0000_t136" style='width:191.25pt;<br />
height:45pt' fillcolor="yellow" stroked="f"><br />
<v:fill color2="#f93" angle="-135" focusposition=".5,.5" focussize="" focus="100%"<br />
type="gradientRadial"><br />
<o:fill v:ext="view" type="gradientCenter"/><br />
</v:fill><br />
<v:shadow on="t" color="silver" opacity="52429f"/><br />
<v:textpath style='font-family:"Impact";v-text-kern:t' trim="t" fitpath="t"<br />
string="Dragon's Lair"/><br />
</v:shape><![endif]--><![if !vml]><img border=0 width=258 height=63<br />
src=http://www.webdeveloper.com/forum/archive/index.php/"Index_files/image001.gif" alt="Dragon's Lair" v:shapes="_x0000_s1025"><![endif]></p><br />
<br />
<br />
The only other site I have seen this at is <!-- w --><a class="postlink" href="http://www.gorillapc.net">www.gorillapc.net</a><!-- w --><!--content-->Looks live Vector Markup Language.<!--content-->Ok. I think i need to give a detailed explanantion. Well, i have signed up for this domain masking service. Where you get a domain and when people open that doamin, they are redirected to my actual site as it is nearly impossible to remember :D <br />
<br />
So that is why the favicon wont show up. Now i need a way for it to show up<br />
<br />
I didnt need to insert the favicon code as i had the access to the actual root directory<br />
<br />
It looks like the domain but it isn't as i have anbled them to hide the real site name<br />
<br />
As for the code you showed me on the site, I have ABSOLUTELY no idea what it is for. By the way, i am totally rubish at html and javascript so don't ask me questions about it :D<br />
<br />
I hope this gives u guys some information. ;)<!--content-->Get yourself a decent domain name! The free webspace that comes with your email account is not to be used for anything more serious than showing your holiday pix to some friends. Registration and hosting of a real domain won't cost you a lot and it saves you the hassle.<br />
<br />
Cheers, Jochem :cool:<!--content-->Actually, it didnt come with my email :) . I signed up for it. hmmm.... There must be a way to do it. I just cant find one :D . ITs ok anyway,it not really that important. I just do it so that i know how to<!--content-->hmmm..... I seem to have found something. Look:<br />
<br />
1.When i turn the cloaking off i.e. when it shows u the ACTUAL url, the favicon appears.<br />
<br />
2. Then i turn the cloaking back on again, it doesn't have any effect on it, you will still see the actual url but the favicon does not appear.<br />
<br />
Refreshing does not work. You will have to clear the CACHE, the COOKIES AND the HISTORY ot make it work again<br />
<br />
I wonder what could be causing this:confused:<!--content-->Try inserting the <link> code that was given above.<!--content-->but, as i said before, its just domain masking. Its not realyl important anyways, just to know<!--content-->
 
Back
Top