Favicon 没有显示在我的 wordpress 网站上,尤其是在 Chrome 上 [英] The Favicon is not showing on my wordpress website especially on Chrome

查看:30
本文介绍了Favicon 没有显示在我的 wordpress 网站上,尤其是在 Chrome 上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我的 wordpress 网站上上传了图标,但它没有在 chrome 上显示.http://babygearsmalaysia.com

I have uploaded the favicon on my wordpress website but it is not showing on chrome. http://babygearsmalaysia.com

有人可以帮我吗?

推荐答案

添加收藏夹图标的正确方法是不用shortcut,所以用

The correct way to add a favicon is without shortcut, so instead of

<link rel="shortcut icon" href="YOURPATH/favicon.png">

你应该使用

<link rel="icon" href="YOURPATH/favicon.png">

更好的做法是省略标签,只使用根目录中的 favicon.ico 文件.进一步阅读

Even better would be to leave out the tag and just use an favicon.ico file in your root directory. Further reading

这篇关于Favicon 没有显示在我的 wordpress 网站上,尤其是在 Chrome 上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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