Asmita
Asmita

Reputation: 1190

How to resolve favicon.ico not found error on apache

I am getting following error while running index.php file on apache

File does not exist: /home/../../../../favicon.ico

What does this mean? What should I change to resolve it?

Upvotes: 8

Views: 39556

Answers (2)

DanimalReks
DanimalReks

Reputation: 331

I found this helps if you are not working from the root directory. This eliminated the error for me. It is placed in the head.

<link rel="icon" href="favicon.png" sizes="16x16" type="image/png">

Upvotes: 0

Matt
Matt

Reputation: 356

Favicon.ico is an icon file that is displayed next to the URL in the browser bar. (See the StackExchange icon next to the URL).

There is no way to stop browsers requesting it. You can either create a favicon, or create a zero byte file called favicon.ico and place in the web root.

Upvotes: 17

Related Questions