og:url matches the page canonical URL
Why it matters
Without og:url, social platform crawlers cannot reliably deduplicate shares of the same page that arrive via different URLs — such as with UTM parameters, trailing slashes, or HTTP vs HTTPS variants. Per ogp.me, og:url specifies the canonical URL that should aggregate all social engagement signals. When og:url is absent or mismatched with the canonical URL, share counts and engagement metrics fragment across URL variants. This directly affects how platforms surface your content in social feeds and how link preview analytics attribute engagement. The findability impact is concrete: a page shared 500 times across two URL variants may show as two separate posts with 250 shares each rather than one high-engagement result.
Severity rationale
High because a missing or mismatched og:url fragments social engagement metrics across URL variants, reducing apparent post engagement and undermining SEO deduplication signals.
Remediation
Set og:url alongside your other OG properties and keep it in sync with your canonical URL. Both should use the same scheme, host, and path:
export async function generateMetadata({ params }): Promise<Metadata> {
return {
alternates: { canonical: `https://yoursite.com/blog/${params.slug}` },
openGraph: {
url: `https://yoursite.com/blog/${params.slug}`,
title: post.title,
description: post.excerpt,
images: [...],
},
}
}
For static pages, set both metadata.alternates.canonical and metadata.openGraph.url in the page's metadata export. If you use a NEXT_PUBLIC_SITE_URL environment variable for the base, apply it consistently to both fields.
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the Social Sharing Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
External references
- external · ogp.me — The Open Graph Protocol
Taxons
History
- 2026-04-18·v1.0.0·Initial import from marketing-social-sharing·automated