几个月前,我为我的网页添加了一个图标,即favicon.ico。现在我已经从服务器中删除了该文件。当我在 www.webpagetest.org 测试我的网站时,它显示该网站图标.ico的 404 个错误。我是网页设计的新手,可能有什么问题?
提前致谢
我在您的源代码中看不到这一行:
<link rel="shortcut icon" href="favicon.png" type="image/png" />
或
<link rel="icon" href="favicon.ico" type="image/x-icon" />
或
<link rel="shortcut icon" href="http://http://www.ludhianaweddingvendors.com/favicon.ico" />
我确定您已经上传了文件,但是...你写过参考吗?