site.canonical-target-redirects
Pages name a canonical URL that redirects; the canonical should be the final URL.
What to change
Write the URL the redirect ends at in the canonical: the same scheme, host, trailing slash and case the server answers with.
The documentation on developers.google.comA finding of this rule on a page carries the exact edits for that page: the markup it quotes, and what to write instead.
When it runs
Runs on a crawl or a build directory. A warning is a problem that costs a page ranking, clicks or citations. Each finding takes 5 points off the page's score.
The severity here is the rule's usual one: a finding can be raised or lowered when the page gives a reason.
Run it, or skip it
Check a page for this rule alone, after a fix for instance:
npx @rivi-software/agentic-seo-check crawl https://example.com --rule site.canonical-target-redirects
Or from an assistant, with the MCP tool seo_crawl_site:
{
"url": "https://example.com",
"rules": [
"site.canonical-target-redirects"
]
}
To leave it out of an audit, pass --disable site.canonical-target-redirects on the command, or disableRules: ["site.canonical-target-redirects"] to a tool.
More in Site-wide checks
All 49 rules- Warning
site.hreflang-no-return-linkhreflang alternates do not link back to the page that references them. - Warning
site.broken-external-linksExternal links point to URLs that return 4xx/5xx or fail to load. - Info
site.unlinked-pagesHTML files in the build output that no other page links to. - Error
site.canonical-target-brokenPages name a canonical URL that answers 4xx/5xx or does not load, so search engines cannot use it. - Warning
site.canonical-target-noindexPages name as canonical a page that is set to noindex, so the page meant to be indexed is kept out of the index. - Warning
site.canonical-chainA page's canonical points to a page whose own canonical points somewhere else (A to B to C). - Info
site.links-to-noindexPages set to noindex are linked from other pages of the site. A noindex page that much of the site links to is often noindex by mistake. Cart, search, login and account pages are left out. - Warning
site.hreflang-target-invalidhreflang alternates point to URLs that are broken, redirect, are noindex or name another URL as canonical, so the annotation is ignored.