为什么会发生这种情况?

HTML显示:
<meta content='http://www.costumingdiary.com/2015/05/freddie-mercury-robe-francaise.html' itemprop='mainEntityOfPage' itemscope='itemscope'/>结构化数据测试工具输出显示:
http://www.costumingdiary.com/2015/05/freddie-mercury-robe-francaise.html#__sid=md3更新:它看起来和我的面包屑列表有关。但是,为什么会发生这种情况,这是错误的吗?
发布于 2015-12-13 06:06:44
我不知道片段#__sid=md3是从哪里来的,但由于SDTT过去对BreadcrumbList有一些怪癖,这也可能是它的副作用。
但是请注意,如果您想要提供一个URL值作为mainEntityOfPage属性的值,您可以使用must use a link element instead of a meta element
<link itemprop="mainEntityOfPage" href="http://www.costumingdiary.com/2015/05/freddie-mercury-robe-francaise.html" />发布于 2015-12-13 18:22:05
如果要提供的URL是唯一的,则可以使用itemid属性。在最新的更新之后,我被这个工具遇到了mainEntityOfPage。在使用Google的示例时,我使用了以下代码
<meta itemscope itemprop="mainEntityOfPage" itemType="https://schema.org/WebPage" itemid="https://blog.hompus.nl/2015/12/04/json-on-a-diet-how-to-shrink-your-dtos-part-2-skip-empty-collections/" />https://stackoverflow.com/questions/34244251
复制相似问题