Canonical

The rel HTML attribute defines the relationship between a linked resource and the current document. A canonical value defines the preferred URL for the current document, which helps search engines reduce duplicate content.

Settings

You can set a custom canonical URL in the frontmatter of a page:

---
seo:
  canonical: "" # custom canonical URL (optional)
---

If you do not specify a custom canonical URL, the Permalink of the current page is used (default).

Generated meta tag

Thulite SEO generates the following meta tag — for example:

<link rel="canonical" href="https://seo.thulite.io/docs/basics/canonical/">