hello, the favicon is showing in my local file but not on netlify, I don’t understand the above instruction.
Hey @Ifeoma
Have you tried accessing the favicon directly to see if it loads e.g. https://my-site.netlify.app/favicon.ico
?
It wasn’t in the folder I added to Netlify, so I added a new folder and it worked.
I had the same issue but I was eventually able to debug and find the solution. My issue was that the public folder was not accessible during the build process. I had named it “Public” and Netlify happens to be case sensitive if I’m not wrong. All I had to do was rename the folder to “public”, remove git cache for all files, add all files, and then commit the renaming changes. after that, the public folder was accessible (by Netlify) and my favicon showed up.
To check your build files download your deploy. Hope this helps someone with a similar issue.
That’s correct, Netlify’s build system is case sensitive, because the build image runs Ubuntu:
I just faced the same issue. The solution that worked for me is very simple: rename the file favicon.ico to icon.ico