我在Favicon问题上停留了一段时间。我的Favicon确实以某种方式出现在地址栏上,但没有出现在google搜索结果中,即使所有文件都位于根文件夹中。这是我正在使用的代码:
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
阅读有关如何在搜索结果中添加图标的google webmaster article。设置正确后,它将在Google抓取您的网站后显示。
但是我相信Google在收到用户的强烈反对之后声称仍在进行实验,声称用户界面现在混乱不堪...