This is what I used but not working after deployed on github pages it still not working with out without question mark. Why?
<link rel="shortcut icon" type="image/x-icon" href="/img/favicon1.ico?">
Simplay user this href="./img/favicon1.ico?"
path/href insted href="/img/favicon1.ico?"
I just add '.'
infront of '/img'
.