π
WebSite
Website and site navigation metadata
About WebSite Schema
The WebSite schema type is used to mark up website and site navigation metadata. Implementing this structured data helps search engines understand your content better and may qualify your pages for rich results in Google Search.
Properties
* Required Properties
@type
Must be "WebSite"
Type: Text
name
Website name
Type: Text
url
Website URL
Type: URL
β Recommended Properties
potentialAction
Sitelinks search box action
Type: SearchAction
description
Website description
Type: Text
publisher
Publisher organization
Type: Organization
Best Practices
- β Validate your JSON-LD with Googleβs Rich Results Test before publishing.
- β Populate potentialAction, description to unlock enhanced snippets.
- β Keep structured data in sync with the visible content on the page.
Common Pitfalls
- β οΈAvoid mixing multiple schema syntaxes for the same entity.
- β οΈDo not include claims that the user cannot see or confirm on the page.
- β οΈRemember to update dateModified whenever the content changes.
JSON-LD Example
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "Example Website",
"url": "https://example.com",
"description": "A comprehensive resource for web development tutorials",
"potentialAction": {
"@type": "SearchAction",
"target": "https://example.com/search?q={search_term_string}",
"query-input": "required name=search_term_string"
}
}Looking for more tools? TryElementiafor interactive periodic table and chemistry reference.