SEO for Solos
schema.org/WebSiteNo rich result

WebSite schema

The site as a whole. The isPartOf target for every page node.

Where to use it

Every page, once, in the sitewide graph.

A complete example

Valid as written, with every required property and the recommended ones that carry real information.

web-site.json
{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "@id": "https://www.seoforsolos.com/#website",
  "url": "https://www.seoforsolos.com/example",
  "name": "Acme Reference",
  "publisher": {
    "@id": "https://www.seoforsolos.com/#organization"
  },
  "inLanguage": "en-US",
  "potentialAction": {
    "@type": "SearchAction",
    "target": {
      "@type": "EntryPoint",
      "urlTemplate": "https://www.seoforsolos.com/search?q={search_term_string}"
    },
    "query-input": "required name=search_term_string"
  }
}

Generate a WebSite node with your own values in the schema generator, and lint what your page actually ships with the schema validator.

Properties

WebSite properties
PropertyStatus
urlRequired
nameRequired
publisherRecommended
inLanguageRecommended
potentialActionRecommended

The three mistakes this type attracts

  1. 01Adding a SearchAction for a search route that does not exist.
  2. 02Omitting publisher, which leaves the site unattached to its organisation.
  3. 03Duplicating the node per page without a stable @id.

Related types

Where this appears in the playbook

Questions

What is the WebSite schema type for?

The site as a whole. The isPartOf target for every page node. Use it on: every page, once, in the sitewide graph.

Which WebSite properties are required?

WebSite requires 2 properties: url, name. It also recommends 3: publisher, inLanguage, potentialAction.

Does WebSite produce a rich result?

WebSite does not produce a Google rich result. It is still worth shipping, because its value is entity resolution and answer extraction rather than search result presentation.

What is the most common WebSite mistake?

The most common WebSite mistake is: Adding a SearchAction for a search route that does not exist.

Product analytics are optional. On the skill page, X advertising measurement is also optional and shares your visit and ad identifiers with X. Both are off until you allow them. Privacy policy.