Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

why doesn't favicon.ico load unless www is in web address

  • 5 个回答
  • 2 人有此问题
  • 18 次查看
  • 最后回复者为 Tony888
  • 已解决

I have my favicon.ico at the root of my directory and html code pointing it out and still can't get it to work if I enter the address without the www in front of it.(as I have performed this operation before, I know I have the ico file correct and the html code. I don't have any problems in other browsers. Is there some new special html code I am unaware of? I think it has something to do with firefox doesn't auto fill http/www. Any help would be greatly appreciated. Thank you in advance!

I have my favicon.ico at the root of my directory and html code pointing it out and still can't get it to work if I enter the address without the www in front of it.(as I have performed this operation before, I know I have the ico file correct and the html code. I don't have any problems in other browsers. Is there some new special html code I am unaware of? I think it has something to do with firefox doesn't auto fill http/www. Any help would be greatly appreciated. Thank you in advance!

被采纳的解决方案

Try removing that HTML code for favicon.ico. As long as the favicon,ico file is in the root directory modern browsers should be able to find it with a "pointer" to it.

定位到答案原位置 👍 0

所有回复 (5)

Maybe there is a new "same origin" requirement for .ico files? Are you using a relative path to ensure that the host names match?

选择的解决方案

Try removing that HTML code for favicon.ico. As long as the favicon,ico file is in the root directory modern browsers should be able to find it with a "pointer" to it.

I thought I tried it with no code because it should work. I'll try again to make sure. Thanks for the reply! I'll put an update post when I've tried it.

Can you post a link to a public page that doesn't require authentication (log in) to access it?

Well I feel a little special. I tried it again and wahlaa. I guess I didn't clear the cache properly. Thank you very much!