Skip to content

SEO003 · Canonical URL

Severity: warning

Every route must include a <link rel="canonical"> tag (own or inherited through the layout chain). A missing canonical link is flagged.

A canonical URL tells search engines which URL is authoritative, preventing duplicate-content dilution across query strings and trailing-slash variants.

Add <link rel="canonical"> in <svelte:head>, or set the canonical prop on your meta component:

<svelte:head>
<link rel="canonical" href="https://example.com/this-page" />
</svelte:head>