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

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

问题描述

我使用以下内容:

 < link rel =快捷方式图标href =/ images / favicon。 ico/> 

这是一个真正的'ico'。当我访问 http://mydomain.com 时,图标加载。但是,当我访问'www'子域名:www.mydomain.com ...它不会加载。任何想法发生了什么?

解决方案

我发现我必须清除我的Firefox缓存[CTRL] + [SHIFT] + [DEL],然后重新启动Firefox,然后我才能看到favicon,我将它放在Web服务器的根目录中,并调用favicon.ico。

注意,在最近Firefox的favicon版本只显示在选项卡图标和书签上,不在地址栏图标中。


I am using the following:

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

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?

解决方案

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.

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中加载favicon?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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