OGKit

Rules / og-url-canonical-mismatch · ruleset 2026-07

og:url does not match canonical

warningog-url-canonical-mismatch
Rule idog-url-canonical-mismatch
Severitywarning
CategoryPlatform and crawl
Platformsall platforms
Needs humanno

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 canonical
  • og: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

  1. Compare `og:url` with `<link rel="canonical">` after normalizing host/path.
  2. 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.