> For the complete documentation index, see [llms.txt](https://docs.hubyte.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hubyte.de/seo-ultimate/english-documentation/canonical.md).

# Canonical URLs

A **canonical URL** tells Google which URL is the "correct" (canonical) version of a page. This helps against duplicate content, e.g. for products in multiple categories or filter/pagination URLs.

SEO Ultimate lets you set an **individual canonical URL per product and per category**. If no custom value is set, the Shopware default (the page's SEO URL) stays active.

## Product canonical

1. Open the product → **SEO** tab.
2. In the **SEO canonical** card enter a full URL in the *Custom canonical tag* field.
3. Save.

Below the field you see a **live preview** of the rendered tag:

```html
<link rel="canonical" href="https://your-shop.com/your-product">
```

If the field is empty, the preview shows the **Shopware default** (the product SEO URL).

> **Variants:** the value can be inherited from the main product or overridden per variant.

## Category canonical

1. Open the category → **SEO** tab.
2. In the **SEO canonical** card enter a full URL.
3. Save.

Here, too, a live preview with the Shopware default as a fallback is shown.

## Output in the storefront

The canonical tag is rendered automatically in the `<head>` of the respective page:

```html
<link rel="canonical" href="…">
```

* If a **custom value** is set, it is used.
* Otherwise the **default SEO URL** from Shopware applies.

> **Tip:** always enter the **full URL** including `https://` and the domain.
