Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Favicon is not showing if the URL starts with https://

Tags:

favicon

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?

like image 247
Vasethvan Avatar asked Nov 11 '22 06:11

Vasethvan


1 Answers

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="">
like image 171
Marcello Avatar answered Dec 10 '22 01:12

Marcello