For AI agents: a documentation index is available at /llms.txt. Markdown versions of these pages are available by appending `.md` to the URL or by sending `Accept: text/markdown`.

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

og:url does not match canonical

warningog-url-canonical-mismatch

Name

og:url does not match canonical og-url-canonical-mismatch

When og:url and link rel=canonical disagree, platforms and search engines may treat different URLs as the page identity.

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.

Copy or download

Copyable Markdown for a teammate or an agent chat.

# og-url-canonical-mismatch — og:url does not match canonical

- **Name:** og:url does not match canonical

## Description

When og:url and link rel=canonical disagree, platforms and search engines may treat different URLs as the page identity.

## How to fix

Make og:url and <link rel="canonical"> identical absolute HTTPS URLs (same host, path, and intentional query).

## Rule docs

https://ogkit.akr.moe/rules/og-url-canonical-mismatch

Download an Agent Skill package for this rule.

Download og-url-canonical-mismatch.skill

The file is a ZIP of skill-name/SKILL.md (Agent Skills spec). The .skill extension is that ZIP; rename to .zip if a client asks for one.

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.
OGKit