问题
I am facing one issue with favicon.ico. Here is my link rel code which has been included in header portion.
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
The problem is, I can view the favicon in all browsers if the url starts with http://. When the address starts with https://, the favicon is not showing in IE browser. Is there anything that I need to do? Did I miss anything important to include?
回答1:
I had the same problem and fixed it by putting the following line in the head section of my html file:
<link rel="shortcut icon" href="">
来源:https://stackoverflow.com/questions/24300856/favicon-is-not-showing-if-the-url-starts-with-https