Welcome to WebmasterWorld Guest from 23.21.38.201

Forum Moderators: brotherhood of lan & mack

Can't seems to add favicon

Tried a lot of way

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

5+ Year Member



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)

10+ Year Member



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)

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



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)

WebmasterWorld Senior Member pageoneresults is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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)

WebmasterWorld Senior Member 10+ Year Member



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?

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month