gskema
gskema

Reputation: 3221

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.

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

Upvotes: 11

Views: 8992

Answers (1)

unor
unor

Reputation: 96687

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.

Upvotes: 10

Related Questions