NameSilo

Favicon not showing up

Spaceship Spaceship
Watch

elias75

Established Member
Impact
53
I think I am doing everything the way they should be but the favicon doesn't want to show up, any ideas?

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

is between my <head> tags

file is saved as favicon.ico and is located in the public directory in the image folder (with all the other images of the site)

what is wrong? :-/
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Try the whole site link to favicon.ico (http://site.com/images/favicon.ico), or add / before images/favicon.ico (/images/favicon.ico)
I always have problems getting mine to show up, sometimes when I just clear my cache it will show.
 
1
•••
I have tried adding a "/" before images/favicon.ico and also cleared the cache but still nowhere.....

when I try the whole link http://site.com/images/favicon.ico a get a 404 not found message...

could it be that my favicon.ico is 504kb ??
 
0
•••
I have never heard of a size limit, if anything maybe your host doesn't like ico?
Try <link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
if that doesn't work, maybe try a different format like gif
Are you on IE? I heard sometimes there's problems with favicons, maybe try bookmarking the site. pm me link if you want, good luck
 
0
•••
The favicon MUST be 16x16 only. Otherwise it will not show up.
 
0
•••
yenerich said:
The favicon MUST be 16x16 only. Otherwise it will not show up.
Not true -- depends on the browser. Most will size down favicons appropriately.

NOTE: If you preceed your path with a "/" character, it tries to access the root directory of the Linux file system. You don't want that. If you intend to reference the CURRENT directory, you use "./" instead.

ANOTHER NOTE: You might try not just "shortcut icon" but "icon" also - this guarantees compatibility with most browsers. You will want both (so two <link> tags for this) -- so that it will render properly.

FINALLY... clear your cache! If you use Firefox, use the web developer extension to turn off your cache easily, also try Ctrl+F5 to refresh with no cache.

Also you may use .gif and .png images as favicons (again, depending on the browser).
 
1
•••
mholt said:
NOTE: If you preceed your path with a "/" character, it tries to access the root directory of the Linux file system. You don't want that. If you intend to reference the CURRENT directory, you use "./" instead.

You are thinking in terms of PHP

In HTML if you use /file_name it will call domain.com/file_name whatever folder you are in. In other words it will fetch file_name in the root of the domain.
 
0
•••
When I had this trouble it turned out
to be my cache - I had to clear it.

Can other people see it or not at all?

elias75 said:
I think I am doing everything the way they should be but the favicon doesn't want to show up, any ideas?

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

is between my <head> tags

file is saved as favicon.ico and is located in the public directory in the image folder (with all the other images of the site)

what is wrong? :-/
 
1
•••
I always put the favicon in the root folder for the site and use the following :

<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
 
1
•••
Peter said:
You are thinking in terms of PHP

In HTML if you use /file_name it will call domain.com/file_name whatever folder you are in. In other words it will fetch file_name in the root of the domain.
Sorry, I did mean the root of the domain, not the entire Linux file system.
 
0
•••
Irieman said:
I always put the favicon in the root folder for the site and use the following :

<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />

I tried this and it works!
but only with IE not with Firefox.... any ideas?

thanx all for your help.... reps added
 
0
•••
elias75 said:
I tried this and it works!
but only with IE not with Firefox.... any ideas?

thanx all for your help.... reps added

For me it works with IE, Firefox, Opera, Safari and chrome. Your browser's cache may need to be emptied.
 
0
•••
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back