Favicon not showing up

Site: stuffics.com

Hi, there seems to be a problem with favicons sinds the beginning.

The favicon is generated from favicon.io*

Source code:

<link rel="icon" type="image/png" href="http://stuffics.com/uploads/default/optimized/1X/aa90c02cb0cdf22894fe3ffea2b2b610b86d0a8e_2_32x32.png">
<link rel="apple-touch-icon" type="image/png" href="http://stuffics.com/uploads/default/optimized/1X/d9129e4df65f8caabcae58ce1abeb70e58f2dca2_2_180x180.png">

Href’s seems to work.

Does anyone know how this could happen?

1 Like

@leonardo found something similar recently.

3 Likes

Hi! Wow, this issue seems to seek and find Leonardos.

http://stuffics.com/ currently results in “origin is unreachable” from Cloudflare, so I can’t check what the specific symptom with your favicon is.

If it is HTTP 404 when attempting to fetch it, can you try the following safe and idempotent snippet on a Rails console? “Optimized” versions are derivatives of the original which will be untouched; these will just be regenerated.

favicon = SiteIconManager.resolve_original(SiteIconManager::ICONS[:favicon])
favicon.optimized_images.each(&:destroy)
SiteIconManager.ensure_optimized!

If it does fix it then we’ll have confirmation of identical symptoms and it will aid us in tracking down the underlying cause, so we’d be thankful :slight_smile:

2 Likes