OGKit

规则 / og-type-missing · 规则集 2026-07

缺少 og:type

错误og-type-missing
规则 IDog-type-missing
严重程度错误
分类必需标签
平台全部平台
需要人工处理

这是什么

缺少 og:type。OGKit 规则 og-type-missing(错误)。该 ID 是文档网址与 CI --disable 键使用的公开 API,请勿改名。

以下搜索词应指向本页:

  • Required tag og:type is missing
  • missing og:type

为什么重要

og:type 告诉抓取器对象类型;缺失可能破坏 Facebook 等平台的富对象处理。

受影响的平台

全部 OGKit 平台资料,包括使用这些标签的主要社交、聊天与搜索爬虫。

各平台的爬虫预算与字段优先级详见平台行为参考

如何复现

  1. View Source and search for `property="og:type"`.
  2. Empty or missing content triggers the finding.

如何修复

普通页面使用 website,文章或商品则填写对应的 article、product 等类型。

修复示例:

<meta property="og:type" content="website" />