Google 索引显示 Wordpress 默认收藏夹图标而不是设置收藏夹图标 [英] Google index showing Wordpress default favicon instead of set favicon

查看:57
本文介绍了Google 索引显示 Wordpress 默认收藏夹图标而不是设置收藏夹图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对这个完全不知所措.我建立了这个网站:

我已尝试在 Google Search Console 中重新提交该网站的站点地图,并且我还使用了 Google Search Console 的 URL 检查工具来提交该网站的 URL 以供重新抓取.它在上周多次重新抓取该网站,但默认的 Wordpress 网站图标仍保留在 Google 的搜索结果中!

这里有人有什么想法或建议吗?

解决方案

Google 似乎正确检索到您的图标:

https://www.google.com/s2/favicons?domain_url=www.everyguy.co.nz

您现在需要等待 Google 考虑您​​的新网站图标,这可能需要几天甚至更长时间.

I am at a complete loss over this one. I have built this website:

https://www.everyguy.co.nz/

If you go to that site, you will quite clearly see that the site has it's own custom favicon (a red "EG").

This favicon is a 144x144 pixel .ICO file and has been added into the site section like so:

<link rel="shortcut icon" href="https://www.everyguy.co.nz/wp-content/uploads/2020/11/favicon.ico"/>

I also have the following code in the theme's functions.php file:

// DISABLE WORDPRESS DEFAULT FAVICON //
add_filter( 'get_site_icon_url', '__return_false' );

I have tested the above code by removing the custom favicon and the favicon does, indeed, completely disappear and is not being replaced by Wordpress's default favicon.

HOWEVER, Google absolutely insists on indexing the site with Wordpress's default icon instead of the custom icon! (Search term: "Everyguy", "Everyguy Hair" or "Everyguy Haircuts").

I have tried resubmitted the site's sitemap in Google Search Console and I have also used Google Search Console's URL Inspection tool to submit the site's URL for recrawling. It has recrawled the site several times over the last week and yet the default Wordpress favicon remains in Google's search results!

Does anyone have any ideas or suggestions here?

解决方案

You icon seems to be correctly retrieved by Google:

https://www.google.com/s2/favicons?domain_url=www.everyguy.co.nz

You now need to wait for Google to take your new favicon into account, which can take a few days or even longer.

这篇关于Google 索引显示 Wordpress 默认收藏夹图标而不是设置收藏夹图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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