How to add favicon.ico in ASP.NET site

/favicon.ico

might do the trick
I have tried this on my sample website

<link rel="shortcut icon" type="image/x-icon" href="https://stackoverflow.com/questions/9963584/~/ows.ico" />

Try this one in your site put the link in MasterPage,It works 🙂

<link rel="shortcut icon" type="image/x-icon" href="https://stackoverflow.com/questions/9963584/~/favicon.ico" />

I have tested in ,
FireFox.
enter image description here
Chrome.
enter image description here

Opera.
enter image description here

Some troubleshoots:
1. Check if your favicon is accessible (correct url) ,goto view source and click on the favicon link

2. Full refresh your browser by Ctrl+F5 every time you make changes.
3. Try searching from SO you may find your related problem here.

Some Links to help you out:
Serving favicon.ico in ASP.NET MVC
Favicon Not Showing
Why is favicon not visible

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)