jsonld@web
jsonld@web:/jsonld-webpage-vs-website$  cat ./jsonld-webpage-vs-website.jsonld
rich results · passed post · blog

> Structured Data: WebPage vs WebSite

Quickly learn the difference between structured data types webpage and website in under 50 words.

published
modified
size
0.8K
path
/jsonld-webpage-vs-website/

Last updated March 21, 2024 by Patrick Coombe

We get this question asked enough where we thought we should post about it. I am going to keep it extremely simple.

So what is the difference between the “website” and “webpage” @type JSON-LD code.

WebSite: Refers to the entire domain

e.g. https://example.com

WebPage: Refers to a particular page on that domain.

e.g. https://example.com/products/my-product
e.g. https://example.com/blog/my-blog-post
e.g. https://example.com/about/our-team

You can view sample code for WebSite and WebPage right here.