I have the following two lines in the head section in my masterpage:
<link rel="shortcut icon" href="/Content/Images/favicon.ico" type="image/x-icon" />
<link rel="icon" href="/Content/Images/favicon.ico" type="image/ico" />
However, the favicon is not displayed in Internet Explorer (version 6, 7, 8). In Firefox and Safari the favicon works fine. I have even tried to replace href with the URL to my website (http://www......./Content/Images/favicon.ico) but that still does not work in Internet Explorer. Am I missing something?
Try this post http://weblogs.asp.net/nmarun/archive/2010/03/14/asp-net-mvc-2-throws-exception-for-favicon-ico.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With