为什么在Firefox中不会加载图标图标? [英] why won't favicon load in firefox?

查看:71
本文介绍了为什么在Firefox中不会加载图标图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用以下内容:

<link rel="shortcut icon" href="/images/favicon.ico" />

这是一个真正的"ico".当我访问 http://mydomain.com 时,将加载该图标.但是,当我访问"www"子域:www.mydomain.com ...时,它将不会加载.有什么想法吗?

It is a true 'ico'. When I visit http://mydomain.com, the icon loads. But when I visit the 'www' subdomain: www.mydomain.com...it won't load. Any ideas what is going on?

推荐答案

我发现我必须清除Firefox缓存[CTRL] + [SHIFT] + [DEL],然后重新启动Firefox,然后才能看到该图标,我把它放在Web服务器的根目录中,叫做favicon.ico.

I found that I had to clear my Firefox cache [CTRL]+[SHIFT]+[DEL], and then restart Firefox before I could see the favicon, which I put in the root of the web server and called favicon.ico.

请注意,在最新版本的Firefox中,图标仅显示在标签图标和书签上,不显示在地址栏图标上.

Note that in recent versions of Firefox the favicon is only displayed on the tab icon and bookmark, not in the address bar icon.

这篇关于为什么在Firefox中不会加载图标图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆