skip to Main Content

I can not see the favicon in any browser at https://www.example.com

I tried the following implementations:

<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">

and

<link rel="icon" type="image/x-icon" href="/favicon.ico">

The favicon is in root-folder.

I also checked the Chrome Debugger and it gives me a “200 status ok” for favicon.ico

I tried checking it from multiple places (Work, Home, Smartphone…) – can’t see it anywhere.

I also used one of these SEO-Checking sites to check if there is a favicon.
They tell me, that there is one but when they try to show me the favicon they found, it is simply not visible – there is a browser “image not found” symbol instead.

I started implementation more than 24h ago, not sure if it’s a a caching problem.

The favicon is in root-folder.

Any ideas?

3

Answers


  1. If you look well, you are getting a 200 status ok on the favicon, but the type is set to html, and not img.
    also if you visit https://www.appfelsine.com/favicon.ico, you get an html page and not the icon image.

    Might have something to do with your .htaccess perhaps? Try storing the favicon in your images folder and change the path, see if it works

    Login or Signup to reply.
  2. Your 404 page returns a 200 (instead of a 404), so all those SEO sites see the 200 success and assume the favicon is loaded. Your favicon is not in the correct directory. To confirm this you can open up the page source and click the link to the favicon url and see that it’s returning a 404 page. I would recommending putting the favicon in the same folder as other images and linking to it there.

    Login or Signup to reply.
  3. Might be that the image is corrupted. My suggestio is to convert it to PNG. Really likely you would have a performance gain that makes this solution worth it.

    To convert it:
    http://image.online-convert.com/convert-to-png

    Use then:

    <link rel="icon" 
          type="image/png" 
          href="/favicon.png">
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search