0

This is my code.

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

Default IE icon is loaded. Please help me on this.

Its working when i run it locally. But when i publish my site to Azure it is not loading :(

  • Welcome to SO. Please add a [mcve] detailing what you have tried so far, why it does not work for you and what you want it to do. – Adriaan Aug 28 '15 at 10:45
  • 1
    Maybe it's the cache. You should [check the answers on this Stack Overflow question.][1] [1]: http://stackoverflow.com/questions/3970936/how-to-clear-ies-favicon-cache – midudev Aug 28 '15 at 11:07

1 Answers1

2

This ~/ is not translated, use full path or just

<link rel="shortcut icon" href="/favicon.ico" />
Aristos
  • 66,005
  • 16
  • 114
  • 150