Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between Schema.org's WebSite vs WebPage type?

I was reading Google documentation on how to impletement Sitelinks Search Box. In the example, they use

itemscope itemtype="http://schema.org/WebSite"

to implement sub-properties like potentialAction, etc.

However, after reading the schema documentation CreativeWork it looks to me that WebSite is inferior to WebPage.

  • They inherit the same properites from CreativeWork
  • WebPage has its own properties, while WebSite doesn't

Is there a scenario where WebSite should be used / is preferable?

like image 644
gskema Avatar asked Apr 26 '15 20:04

gskema


People also ask

What is a webpage schema?

Website Schemas are essentially words or tags in a “shared vocabulary” that can be used by your on-line marketing company (like us!) to talk to search engines like Google & Bing to provide refined searches.

How do I know if my website is schema org?

Schema App's Structured Data Tester The Schema App Structured Data Tester can be found in the “Maintenance” tab in Schema App. Enter any URL, and this tool will display the schema markup found on that page. It is the only testing tool that displays dynamic schema.org data and does not cache the results.

What is a schema org type?

The schemas are a set of 'types', each associated with a set of properties. The types are arranged in a hierarchy. The vocabulary currently consists of 797 Types, 1453 Properties 14 Datatypes, 86 Enumerations and 462 Enumeration members.

Where should I put the schema on my website?

But for the most part, you will want to place the schema markup HTML in the footer of every page of your website. We are going to do that by clicking on Appearance, then Customize, then Widgets, and then the footer section in which we want to place the code.


1 Answers

WebSite represents a web site, WebPage represents a web page (like the difference between Blog and BlogPosting).

The additional properties from WebPage (like breadcrumb and mainContentOfPage) wouldn’t necessarily make sense for WebSite.

Google’s Sitelinks Search Box uses WebSite because the search usually applies to the whole site, not just a single page.

like image 136
unor Avatar answered Sep 29 '22 04:09

unor