无法获取Favicon.ico来显示 [英] Cannot get Favicon.ico to display

查看:820
本文介绍了无法获取Favicon.ico来显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将我的favicon.ico文件复制到我的Apache文档根目录。我必须为它添加Apache Rewrite异常,现在可以从www.example.com/favicon.ico访问它。但是当我点击我的主要网址时,它并没有显示出来。

我认为您所要做的只是将具有正确权限的文件复制到doc根目录中?我需要改变php吗?谢谢!

解决方案

IE和Firefox的行为可能不同(不确定您使用的是哪一个)。尝试将页面添加为书签,然后单击书签(加载页面)。如果这样做不起作用,请尝试清除浏览器缓存并重复以上应该修复的步骤它。我以前见过你的问题!


I have copied my favicon.ico file to my Apache document root. I had to add an Apache Rewrite exception for it and now it is accessible from www.example.com/favicon.ico. But when I hit my main URL it does not show up.

I thought all you had to do was copy the file with the correct permissions into the doc root? Do I need to make php changes? Thanks!

解决方案

IE and Firefox can behave differently (not sure which one you are using). Try to add the page as a bookmark, then click the bookmark (to load the page). After you do that exit your browser and see if the if shows up then.

If that does not work try to clear your browser cache and repeat the above steps that should fix it. I have seen your problem before!

这篇关于无法获取Favicon.ico来显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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