Jump to content


Favicon Doesn't Work


7 replies to this topic

#1 Hip Hop Artist

    Young Padawan

  • Members
  • Pip
  • 152 posts
  • Gender:Male
  • Location:Canada

Posted 20 November 2006 - 08:43 PM

I have made an icon called favicon.ico and it is stored in the same directory as my index page. This is the code i have from top until the title.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><br />
<link rel="Shortcut Icon" href="http://www.unisonline.ca/favicon.ico">
<title>Unis Online</title><br />

can someone tell me why it doesnt work?

#2 Spide®™

    P2L Jedi

  • Members
  • PipPipPip
  • 767 posts
  • Gender:Male
  • Location:UK England

Posted 20 November 2006 - 10:18 PM

<HEAD>
<link rel="Shortcut Icon" href="/favicon.ico">

This is the code i use just under the head tag
This needs to be put in everypage, you want the favicon to be seen on
Also i dont know if you know this but you must keep the favicon name as favicon
or it will not work

Thay dont work for IE also

Hope this helps

Edited by spide®, 20 November 2006 - 10:19 PM.


#3 Hip Hop Artist

    Young Padawan

  • Members
  • Pip
  • 152 posts
  • Gender:Male
  • Location:Canada

Posted 20 November 2006 - 11:01 PM

favicons work for the new IE, i can see the addictinggames one, and even the pixel2life one. It just doesnt work for the sites i put them on. Thanks for the help though.

#4 Donna

    Retired P2L Queen!

  • P2L Staff
  • PipPipPipPip
  • 12,330 posts
  • Gender:Female
  • Location:B.C Canada

Posted 21 November 2006 - 12:46 AM

View PostPrisM, on Nov 21 2006, 05:01 PM, said:

favicons work for the new IE, i can see the addictinggames one, and even the pixel2life one. It just doesnt work for the sites i put them on. Thanks for the help though.

I see one on http://www.unisonline.ca/ I'm on IE too btw

#5 Spide®™

    P2L Jedi

  • Members
  • PipPipPip
  • 767 posts
  • Gender:Male
  • Location:UK England

Posted 21 November 2006 - 05:10 AM

Oh yeah thay work for IE7 i forget about that as i dont use it :ph34r:

That code i posted was copy and pasted right from my site,and works perfect for my favicon
Not sure why it dosent work for you

If you make your own favicons thay have to be 16x16

#6 Hip Hop Artist

    Young Padawan

  • Members
  • Pip
  • 152 posts
  • Gender:Male
  • Location:Canada

Posted 21 November 2006 - 09:05 AM

alright thanks everyone.

#7 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 21 November 2006 - 02:30 PM

Keep in mind, you don't "need" the link tag. I don't have that on my site and have never had any problems getting my favicon to display.

#8 Spide®™

    P2L Jedi

  • Members
  • PipPipPip
  • 767 posts
  • Gender:Male
  • Location:UK England

Posted 21 November 2006 - 04:16 PM

Oh yeah that reminds me, if you still dont see your favicon,
when you type in your site address in your browser, try puting ? at the end to refesh it

If that dosent work, try clearing your browsers cache

I used to be able to view my favicons without the favicon code also, at one point, but ever since i updated my site one time, i had to use the code ever since lol





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users