Welcome to WebmasterWorld Guest from 54.226.110.143

Forum Moderators: mack

Message Too Old, No Replies

Can't seems to add favicon

Tried a lot of way

     
2:16 pm on Nov 26, 2007 (gmt 0)

New User

5+ Year Member

joined:Nov 26, 2007
posts: 1
votes: 0


I'm new to starting my site, now I've got one problem. I've done creating my favicon.ico and uploaded to the root of my site. I've referred to most guides on the net and to paste the following code

<link rel=”shortcut icon” href=”http://www.mysite.com/favicon.ico”>
<link rel=”icon” href=”http://www.mysite.com/favicon.ico>

to my header.php in between <head> and </head>. The fact is I got the </head> but I never seen any <head> in my header.php
I've tried putting the two lines of code in above the </head> but it hasn't been working. Even though I added the <head> above still won't work. Can't somebody point me the correct way to do it thanks

P/S: I'm using Wordpress platform on external domain.

4:17 pm on Nov 26, 2007 (gmt 0)

Full Member

10+ Year Member

joined:Apr 5, 2003
posts:228
votes: 0


WordPress combines code from several files to create an HTML page. The missing <head> may well be in index.php, rather than header.php.

I'm not sure whether it's the cause of your problem, but the second line of the code that you posted is missing a closing quote.

2:06 am on Nov 27, 2007 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:10562
votes: 14


welcome to WebmasterWorld [webmasterworld.com], stanzerv!

- are you seeing the new code when you view source in your browser and no favicon?

- if you are seeing the favicon source, what happens to the request? have you checked your server logs?

- if the favicon file is being served but not displayed, how did you create your favicon.ico?

3:57 am on Nov 27, 2007 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member pageoneresults is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 27, 2001
posts: 12169
votes: 55


Stop all those favicon 404s!
[webmasterworld.com...]

You might find some useful information in the above recent topic about the comeback of those little 16x16 squares. :)

2:26 pm on Dec 3, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 14, 2003
posts:1550
votes: 0


if the favicon file is being served but not displayed, how did you create your favicon.ico?

What browser do you use to see if the favicon's there. I noticed that Firefox will display a .gif that you just renamed .ico but IE won't. Have you used an online favicon generator to create yours, or did you just rename an image with a .ico extension?