Canonical Tag
Checks that the canonical URL is set correctly and points to the preferred version.
What this check measures
We read `<link rel="canonical">` and verify it exists, is absolute (not relative), points to a non-redirecting URL, and matches the current page or an intentional alternate.
Why it matters
Canonical tags tell Google which URL version is "the" version when content appears under multiple URLs (trailing slash, query params, www vs apex). Wrong or missing canonicals cause ranking to split across duplicate URLs.
How our audit detects it
Parse `<link rel="canonical" href="...">` from the head. Flag missing tags, relative URLs, and canonicals that 301 or 404 when fetched.
Typical findings
- error_outlineCanonical missing entirely — Google picks the URL it sees most often, usually not the one you want.
- error_outlineCanonical points to the homepage on every page — collapses the entire site into one URL for Google.
- error_outlineCanonical uses a relative path — Google requires absolute URLs.
- error_outlineCanonical points to a redirecting URL, confusing the indexer.
How to fix
Set `<link rel="canonical" href="https://...">` on every page, using the absolute URL of the current page (or the intended canonical alternate for duplicates). Next.js has a `metadata.alternates.canonical` field that does this automatically.
Frequently asked questions
Self-referential canonical — good practice?expand_more
Can canonical point to another domain?expand_more
Want this checked on your site?
Pantra runs the full audit (SEO, Security, GEO, Performance, Schema, Technical, Images) in 10 seconds and generates stack-specific fix prompts.
Scan my siteRelated checks
Meta Title
Checks that every page has a unique, keyword-rich <title> tag between 10-60 characters.
SEOMeta Description
Checks that every page has a unique meta description between 50-160 characters.
SEOH1 Tag
Checks that every page has exactly one H1 tag containing the primary keyword.
SEOHeading Hierarchy
Checks heading order — H1 → H2 → H3 without skipping levels.