Editorial story
- Main entity to describe
- Article, BlogPosting, or NewsArticle
- Possible relationship
- WebPage
mainEntitypoints to the article.
Use WebPage as the page node in a coherent JSON-LD graph, connect its main subject and publisher, and understand what Google does and does not promise.
Use WebPage to describe the web page itself and connect it to its main subject, site, and publisher. It is a general schema.org page type, not a standalone Google rich-result feature. Google may use structured data as a clue, but Search eligibility comes from a supported feature's specific guide.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
WebPage represents a web page as a CreativeWork. It lets a JSON-LD graph describe the document and connect it to the thing the page is primarily about. A page is not the same entity as its article, product, person, or organization: the page is the document; mainEntity is its subject. Google supports many structured data features, but WebPage by itself is not listed as a rich-result type.mainEntity points to the article.mainEntity identifies the author.Use a page node when it clarifies relationships in the graph, such as which WebSite contains the page, which Organization publishes it, and which Article is the main entity. For a simple implementation that provides no additional clarity, adding a redundant WebPage block may not help. A vocabulary-valid graph is not the same as eligibility for a Google Search feature.
A stable @id lets separate nodes refer to one entity. Google's guidelines use @id the same way, for example to show that a video is about the recipe on the page. Use the page's canonical URL as the basis for its identifier and use consistent IDs when another node points back to it. Only add properties that describe visible, accurate facts. The example shows graph relationships; Article feature eligibility still depends on Google's Article guide, and site identity has its own WebSite guide.
{
"@context": "https://schema.org",
"@graph": [{
"@type": "WebPage",
"@id": "https://example.com/blog/checkout/#webpage",
"url": "https://example.com/blog/checkout/",
"name": "How we reduced checkout errors",
"isPartOf": {
"@id": "https://example.com/#website"
},
"publisher": {
"@id": "https://example.com/#organization"
},
"mainEntity": {
"@id": "https://example.com/blog/checkout/#article"
}
}, {
"@type": "BlogPosting",
"@id": "https://example.com/blog/checkout/#article",
"headline": "How we reduced checkout errors",
"author": {
"@type": "Person",
"name": "Riley Chen"
}
}, {
"@type": "WebSite",
"@id": "https://example.com/#website",
"url": "https://example.com/",
"name": "Example Workshop"
}]
}Use the final public URL, including the chosen trailing-slash convention, and avoid indexing query-string variants as separate page entities. If duplicate pages exist for the same content, Google recommends the same structured data on all of them, not just the canonical one.
mainEntity should identify what the page is chiefly about, not an incidental link or every entity mentioned.
If a CMS and plugin both emit Organization or WebSite data, consolidate or align them so Search sees one consistent identity.
Google's general guidelines require structured data to represent page content that visitors can access.
Add Article, Product, Breadcrumb, or another supported type only when the page and data meet that feature's policies.
Confirm entity IDs are stable, relationships resolve, and there are no duplicated nodes with contradictory names or URLs.
Use Rich Results Test for the feature type you actually qualify for. Do not expect the tool to report generic WebPage markup as a rich result.
Use Search Console URL Inspection to confirm the canonical page can be crawled and the rendered structured data matches the deployed template.
2 questions people ask next, answered from the sources on this page.
WebPage is a general schema.org type and is not a standalone feature in Google's supported rich-result gallery. A page must qualify for a specific supported feature to be eligible for that appearance.
Not necessarily. Schema.org treats every web page as an implicit WebPage and recommends declaring it explicitly when you set page-level properties such as mainEntity or breadcrumb. Add it when it clarifies relationships such as page, site, publisher, and main subject, and avoid redundant nodes.
Run the free audit, then approve the fixes. Every change can be undone.