为什么我的网站图标没有显示在搜索引擎中?

问题描述 投票:0回答:1

我在线托管我的网站,我的 HTML 页面包含以下内容:

<link rel="icon" href="{{ MEDIA_URL }}website_pictures/picture.ico" type="image/x-icon">

但是,在过去 2 周内,该图标并未显示在 Google 上我的网站旁边,尽管一旦我单击我的网站,该图标就会出现在选项卡上。我已经使用 Google Search Console 提交了我的站点地图,看来我的页面已被索引,没有任何错误。

<link rel="icon" href="{{ MEDIA_URL }}website_pictures/picture.ico?" type="image/x-icon">

我尝试将

?
附加到 URL,但这也不起作用。媒体 URL 来自 S3 存储桶。

html favicon google-search
1个回答
1
投票

定义要在搜索结果中显示的图标

您的图标必须是 48px 平方的倍数,例如:48x48px, 96x96px、144x144px 等等。

https://developers.google.com/search/docs/appearance/favicon-in-search

© www.soinside.com 2019 - 2024. All rights reserved.