正确使用 Schema.org “WebSite"类型:将其应用于所有页面还是仅应用于主页? [英] Proper use of Schema.org "WebSite" type: apply it to all pages or just the home page?

查看:42
本文介绍了正确使用 Schema.org “WebSite"类型:将其应用于所有页面还是仅应用于主页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

应该将WebSite"和Organization"类型及其属性应用于网站的所有页面还是仅应用于主页?

Should the "WebSite" and "Organization" types and their properties be applied to all pages of a website or just the homepage?

我有有效的 JSON-LD 代码来定义 Google 移动搜索结果的必要项目,但我不确定它是应该包含在所有页面中还是只包含在根/主页中.

I have valid JSON-LD code defining the the necessary items for Google mobile search results, but I am not sure if it should be included on all pages or just the root/home page.

推荐答案

在任何相关的页面上提供它是有意义的.

It would make sense to provide it on any page where it’s relevant.

例如,如果这是一个组织的网站,则每个页面都是关于/来自该组织的,因此请在每个页面上提供有关该组织的元数据.
在某个页面上查找结构化数据的消费者不一定同时访问和查看主页,因此它可能永远不会知道您提供了相关的元数据.

For example, if this is an organization’s website, each page is about/from the organization, so provide metadata about this organization on each of the pages.
A consumer looking for structured data on a certain page is not necessarily also visiting and checking the homepage, so it might never learn that you are providing relevant metadata.

这并不一定意味着您应该在每个页面上包含完整的项目(包括所有属性).仅在一个页面上提供完整项目(例如,在站点的主页上)并链接到它就足够了(例如使用属性 author) 来自其他页面.

That does not necessarily mean that you should include the full item (with all properties) on each page. It can be sufficient to provide the full item only on one page (e.g., on the site’s homepage), and link to it (for example with the property author) from each other page.

这篇关于正确使用 Schema.org “WebSite"类型:将其应用于所有页面还是仅应用于主页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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