杜郎俊赏 - dujun.io

Bing 终于给我收录了

刚查了下,Bing 终于有我的收录了。

之前一直不收录,给官方写信得到的答复是Things to Avoid 包含的条例:

Cloaking is the practice of showing one version of a webpage to a search crawler like Bingbot and another to regular visitors. Showing users different content than what the crawlers see may be seen as a spam tactic and could be detrimental to your website's rankings, leading your site to be de-listed from the Bing index. Websites should be extremely cautious about responding differently to crawlers as opposed to regular visitors and should not use cloaking as a principle.

大意就是我给搜索引擎爬虫和用户是两套不同的页面。

而我之所以这样做,是因为我全站都是 js 渲染的,担心搜索引擎解析异常,特地另外写了一套给机器的静态页面。

Google 和百度都没问题,就 Bing 一直零收录。现在突然收录了,而且是最新文章。

我对搜索引擎收录也没执念,只不过每天有大量来自爬虫的访问,不收录就是白白浪费了资源。

日期:2022-10-17