Reputation: 59
The site uses a favicon stored in the root, but the https admin section is using the old favicon and I'm not sure where it's coming from.
Does anyone know of a way to find favicon site resources, i.e. where they're coming from? The unsecured pages all use the same head CSS with references to the same favicon, but the admin references no favicon, so I'm baffled as to why it's using the old one on those pages.
Upvotes: 3
Views: 12037
Reputation: 125
Most browsers will look for a favicon at /favicon.ico if they don't see a tag.
Source: https://stackoverflow.com/a/21359390/13683677
Upvotes: 0
Reputation: 11353
On your site using the selector document.querySelector("[rel='shortcut icon']")
gets the element:
<link rel="shortcut icon" href="http://www.inside-guides.co.uk/favicon1.ico" type="image/x-icon">
You can reveal the element in the html panel with most javascript consoles if you want to see where its being declared in your html. In your case its declared:
Upvotes: 6
Reputation: 1372
If there is no favicon.ico in the root of the site, then view the source of the site and look for <link rel="shortcut icon"/>
. It should have a href attribute. This would tell you the file location.
Upvotes: 1