Skip to main content
Checks that og:url matches canonical URL
Rule IDsocial/og-url-match
CategorySocial Media
ScopePer-page
Severitywarning
Weight3/10

Solution

og:url should match your canonical URL. Mismatches can cause social share stats to be fragmented across different URLs. Use the same URL normalization (https, www, trailing slash) as your canonical tag. Facebook uses og:url for share counting and deduplication.

Enable / Disable

Disable this rule

squirrel.toml
[rules]
disable = ["social/og-url-match"]

Disable all Social Media rules

squirrel.toml
[rules]
disable = ["social/*"]

Enable only this rule

squirrel.toml
[rules]
enable = ["social/og-url-match"]
disable = ["*"]