Rules / og-url-canonical-mismatch · ruleset 2026-07
og:url does not match canonical
| Rule id | og-url-canonical-mismatch |
|---|---|
| Severity | warning |
| Category | Platform and crawl |
| Platforms | all platforms |
| Needs human | no |
What this is
og:url does not match canonical. OGKit rule og-url-canonical-mismatch (warning). The id is a public API for the docs URL and CI --disable key; do not rename it.
Search phrases that should land on this page:
og:url does not match canonicalog:url and link rel=canonical
Why it matters
When og:url and link rel=canonical disagree, platforms and search engines may treat different URLs as the page identity.
Which platforms are affected
All OGKit platform profiles, including major social, chat, and search crawlers that consume these tags.
Platform-specific crawler budgets and field priority live in the platform behaviour reference.
How to reproduce
- Compare `og:url` with `<link rel="canonical">` after normalizing host/path.
- Trailing slash, www, and query differences count.
How to fix
Make og:url and <link rel="canonical"> identical absolute HTTPS URLs (same host, path, and intentional query).
No single template snippet applies; use the measured and expected values in an OGKit finding.