Skip to content

All checks / Technical

More than one canonical link

This file declares more than one canonical link.

Warning canonical-multiple

In SEOCode's checks since 22 Oct 2026


Why this matters.

This file declares more than one canonical link. When they disagree, Google ignores all of them and picks the canonical itself.

Runs on .html .jsx .tsx .vue .svelte · Warnings are reported on the pull request but do not block the merge.


How to resolve it.

Keep one <link rel="canonical"> per page. If a layout and the page both add one, remove the one in the layout.

SEOCode writes this fix for you

On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.


Where this comes from.

01

Consolidate Duplicate Urls

developers.google.com

Using a framework? Next.js · SvelteKit · Nuxt



Every check, on every pull request.

SEOCode runs the full ruleset on each change and comments the fixes inline.

Free for public repositories · no credit card