Dan
Dan

Reputation: 3358

Favicons not showing up properly

I have a favicon.ico located in my root. I have linked like this:

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

Some people in my office can see it any some people can't. When I rename the file and the link path I get 100% success. When I change it back to favicon.ico some people see it and some people don't. It is totally unpredictable.

Is there anything unique to favicon's that would make this not work correctly?

Upvotes: 1

Views: 9700

Answers (4)

William Hunt
William Hunt

Reputation: 1

I had no problem with the default site. I instead had problems with links on the same site. The favicon did not show up on links

When I tried to access the favicon in the browser developer it showed permission denied.

I changed the permissions on the server and it worked on links.

Upvotes: 0

Ivan Ivanic
Ivan Ivanic

Reputation: 3044

In my experience you need both of this definitions.

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

Upvotes: 1

Timbadu
Timbadu

Reputation: 1551

Does:

<link rel="shortcut icon" href="favicon.ico">

Work?

Upvotes: 0

Ed Guiness
Ed Guiness

Reputation: 35247

Are you asking how to force a favicon refresh?

Upvotes: 3

Related Questions