Paresh Jagatia’s Weblog

Coolest things on ASP.NET Web developement…

Save HTTP 404

Posted by pareshjagatia on May 1, 2008

Once I had a call from my boss saying “Can you tell me if we have used any Favicon file in our website in any page or somewhere? As if we have used it, the file is not in place. Look at this IIS log it is full of 404s for the same file.”. And I was absolutely blank about this name. I opened the project and fired “Find in solution” but did not get any FavIcon reference.

 

Huh, a file that is not referenced anywhere in your website and still your IIS has 404 enteries? Later on I came to know that this is the file that is being shown into the address bar and in the favourites list in most browsers. More information about FavIcon can be found here.

 

And be sure to keep the Favicon file small in size to avoid high bandwidth usage, check this out on Scott’s BlogBut keep this file atleast to save 404 in your IIS log. One other file is Robots.txt that, I am not pretty sure, puts 404 in your IIS log when not found by the crawlers. You can check it out.

One Response to “Save HTTP 404”

  1. Nirav Patel Says:

    Hey Paresh,

    Thanks for one more good article. This was complete new information for me. Can you provide something good for Robot.txt file. It seems something good.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>