Rules / og-url-relative · ruleset 2026-07
og:url is a relative path
| Rule id | og-url-relative |
|---|---|
| Severity | error |
| Category | Platform and crawl |
| Platforms | all platforms |
| Needs human | no |
What this is
og:url is a relative path. OGKit rule og-url-relative (error). 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 is a relative pathrelative og:url
Why it matters
og:url must be absolute so shares always point to the same identity regardless of the request URL.
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
- Read og:url. Relative paths like `/page` fail this check.
How to fix
Set og:url to the full HTTPS canonical URL of the page.
Example fix:
<meta property="og:url" content="https://example.com/page" />