google chrome - wordpress favicon not working properly on all browsers

admin2025-01-07  7

Curious fact: the favicon works only on admin dashboard on chrome/opera.

I've tried to clean the cache, but still not work. The line of code to the favicon its being included, buts it just doesnt work.

I'm including the favicon through admin panel, to be dynamic. I just dont want to include it direct on the code.


  • Firefox (Works)
  • Edge (Works)
  • Tor (Works)
  • Chrome (Works only on admin dashboard)
  • Opera (Works only on admin dashboard)

Curious fact: the favicon works only on admin dashboard on chrome/opera.

I've tried to clean the cache, but still not work. The line of code to the favicon its being included, buts it just doesnt work.

I'm including the favicon through admin panel, to be dynamic. I just dont want to include it direct on the code.


  • Firefox (Works)
  • Edge (Works)
  • Tor (Works)
  • Chrome (Works only on admin dashboard)
  • Opera (Works only on admin dashboard)
Share Improve this question edited May 4, 2018 at 20:43 fuxia 107k38 gold badges255 silver badges459 bronze badges asked May 4, 2018 at 15:00 shoxtonshoxton 111 silver badge2 bronze badges 3
  • Sorry, but it is just impossible to guess what is going wrong on your server based on this info. If this happens with wordpress "vanila" themes, you should report it as a bug. If it happens with some other theme, you should contact the theme author. – Mark Kaplun Commented May 5, 2018 at 2:33
  • Go to customize -> site identity and add favicon their – Shubham Dahale Commented Jul 26, 2019 at 15:09
  • Yes, I have exactly same issue, only Chrome WP frontend not working. If you insert Icon with default Appearance -> Customize, somehow it works. But not with custom code, custom code works on backend it means codes are correct tho. – Micah Commented Jul 16, 2020 at 5:02
Add a comment  | 

2 Answers 2

Reset to default 0

try adding type="image/png" in the link definition.

Additionally Chrome is a little bit harder to clean the favicon cache (needs also a restart)

This thread can help you perhaps, there are several hints there

The other thing is, I remember have read somewhere, that it is best practice to have the favicons in the root folder, not the wp-content/uploads/ folder

I had the exact same problem and it took me forever to figure it out! I don't know WHY but Chrome was the only browser that wouldn't see the favicon that was uploaded through Wordpress (and it WOULD show the favicon when on the admin page).

What finally worked for me was uploading a file named favicon.ico to my root public directory (using FTP). It's just a jpg, re-named favicon.ico. After I did that, Chrome would see it.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1736254734a230.html

最新回复(0)