How to Fix Missing 'url' in Product Schema for Non-Canonical Pages
Learn how to resolve missing 'url' errors in Product schema, especially for non-canonical pages, to ensure your products are eligible for rich results.
Why is the 'url' Property Important in Product Schema and How Do You Fix Missing URL Errors?
A missing url
property in Product schema can prevent your products from being eligible for rich results, especially on non-canonical or variant pages. This guide explains why the url
is important and how to fix common issues.
Why the 'url' Property Matters
The url
property tells search engines the canonical address of the product. Without it, Google may not be able to associate the structured data with the correct product page.
Common Scenarios for Missing 'url'
- Product variants (color, size) on non-canonical URLs
- Duplicate content across multiple URLs
- Schema generated without a
url
property
Example of a Missing 'url' Error
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Widget A"
}
Problem: No url
property.
How to Fix
Add the canonical product URL to the schema:
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Widget A",
"url": "https://example.com/products/widget-a"
}
Best Practices
- Always include the canonical
url
in every Product schema - Use absolute URLs (including https://)
- Validate your schema with Google's Rich Results Test
Conclusion
Including the url
property in your Product schema ensures search engines can properly index and display your products in search results.