Relative URL or malformed | Use fully qualified URLs (https://...) |
| Invalid date format | Not ISO 8601 | Use YYYY-MM-DDTHH:MM:SS+00:00 |
| Invalid enum value | Wrong enumeration value | Use exact schema.org URLs (e.g., https://schema.org/InStock) |
| Content mismatch | Schema doesn't match visible content | Ensure schema reflects actual page content |
| Invalid price | Currency symbol or commas included | Use numeric value only ("149.99") |
Implementation
Static Sites
- Add JSON-LD directly in HTML template
Use includes/partials for reusable schema
Dynamic Sites (React, Next.js)
CODEBLOCK2
CMS / WordPress
- Plugins: Yoast, Rank Math, Schema Pro
Theme modifications for custom types
Custom fields mapped to structured data
Testing Checklist
- [ ] Validates in Rich Results Test with no errors
[ ] No warnings for recommended properties
[ ] Schema content matches visible page content
[ ] All required properties included for each type
[ ] URLs are fully qualified
[ ] Dates are ISO 8601 format
[ ] Prices are numeric without currency symbols
Task-Specific Questions
Before implementing, gather answers to:
1. What type of page is this? (product, article, FAQ, local business)
What rich results are you targeting? (FAQ dropdown, product stars, breadcrumbs)
What data is available to populate the schema? (prices, ratings, dates)
Is there existing schema on the page? (check with Rich Results Test first)
What's your tech stack? (static HTML, React/Next.js, CMS/WordPress)
Implementation Workflow
1. Identify page types — map your site's pages to schema types
Start with homepage — Organization + WebSite schema
Add per-page schema — Article for blog, Product for shop, etc.
Add BreadcrumbList — every page with navigation breadcrumbs
Validate each page — Rich Results Test before and after
Monitor Search Console — check enhancement reports weekly after launch
NEVER Do
1. NEVER add schema for content that doesn't exist on the page — this violates Google's guidelines and risks penalties
NEVER use microdata or RDFa when JSON-LD is an option — JSON-LD is easier to maintain and Google's recommended format
NEVER hardcode schema that should be dynamic — product prices, availability, and ratings must reflect current data
NEVER skip validation before deploying — invalid schema is worse than no schema; it wastes crawl budget
NEVER mark up every page identically — each page type needs its own appropriate schema types
NEVER ignore Search Console errors — schema errors can cause rich results to disappear entirely