Schema.org 'Organization' only on contact page or on every page?

别等时光非礼了梦想. 提交于 2019-12-02 05:17:14

问题


I'd like to place a Schema.org Organization item on my website.

Should I place the JSON-LD only on the contact page or can I add it to every page of the website? What is the best solution?


回答1:


With Schema.org, you would typically provide structured data about what is relevant to the current page.

Assuming that it’s the website of the organization, you could specify your Organization as value for these properties:

  • publisher
    (for WebSite, for every WebPage)
  • about and mainEntity
    (for WebSite, for the WebPage on the homepage, for the AboutPage)
  • author
    (for Article, BlogPosting etc.)

(There are more properties, of course. Simply check the type pages for properties that have Organization, or the parent type Thing, as "Expected Type".)

Note that you don’t have to repeat the data, you could simply refer to it instead. Then it would make sense to provide the full data on the page that is given as url of the Organization, so typically the homepage.



来源:https://stackoverflow.com/questions/41851291/schema-org-organization-only-on-contact-page-or-on-every-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!