Home » SEO » Missing Structured Data: How to Add Schema Markup
Missing Structured Data: How to Add Schema Markup
Short answer: structured data is a block of machine-readable code that labels what a page contains, such as your business details, an article, or FAQ answers. If it is missing, search engines and AI tools have to guess. Add it as JSON-LD using schema.org types, then check it in Google's Rich Results Test.
It sits alongside basics like a good title and meta description, and does not replace them.
Step 1: decide which types fit your pages
Only mark up what is actually visible on the page. Common matches:
| Page | Schema type |
|---|---|
| Home or About page | Organization or LocalBusiness |
| Blog post | Article |
| Product page | Product with price and availability |
| Question and answer section | FAQPage |
| Breadcrumb trail | BreadcrumbList |
Check Google's structured data documentation for which types can still earn rich results, since support changes over time.
Step 2: write the JSON-LD
Here is a minimal organization example. Replace the values with your own:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Example Co",
"url": "https://example.com/",
"logo": "https://example.com/logo.png",
"sameAs": ["https://www.linkedin.com/company/example"]
}
</script>
The sameAs links point to your official profiles, which helps identify your brand consistently.
Step 3: add it to your site
- WordPress: use an SEO plugin that outputs schema, and fill in its organization and author settings.
- Other CMS or custom sites: paste the script into the page template, with values generated from page data.
- Make sure the markup is in the delivered page or rendered reliably, see the rendered content gap.
Step 4: validate
Paste the URL into the Rich Results Test or the Schema Markup Validator. Fix errors first, then warnings. After the page is live, Google Search Console reports detected types and problems under "Enhancements".
Step 5: keep it accurate
Update the markup when prices, hours or contact details change. Out-of-date schema is worse than none, and markup that describes content visitors cannot see can lead to a manual action.
Common mistakes
- Marking up content that is not visible on the page.
- Copying another site's schema without changing the values.
- Adding both a plugin's schema and hand-written schema, creating duplicates.
- Leaving required fields empty or using the wrong data type.
- Never revalidating after a redesign or plugin update.
Frequently Asked Questions
What is structured data?
It is code added to a page, usually in JSON-LD format using the schema.org vocabulary, that labels things like the business name, article author or FAQ answers so machines can read them reliably.
Does schema markup guarantee rich results?
No. It makes a page eligible, but search engines decide whether to show rich results. The markup must match visible page content and follow their guidelines.
Where do I put JSON-LD on my page?
Inside a script tag with type application/ld+json, in the head or body. Most WordPress SEO plugins add it for you without editing code.
Found a mistake or still stuck? Contact us. See how we write and check these guides in our editorial policy, or read about DocumentGuy.