---
title: "What Is the Canonical Tag? Duplicate Content, Standard URL and Correct Use: A Canonical Guide for E-Commerce Sites"
description: "What is the canonical tag? Learn about the duplicate content problem, specifying a standard address, filters and parameterized addresses in e-commerce, the difference from 301, and common mistakes."
url: https://www.faprika.com/en/blog/what-is-the-canonical-tag
language: en
site: Faprika
---

# What Is the Canonical Tag? Duplicate Content, Standard URL and Correct Use: A Canonical Guide for E-Commerce Sites

> What is the canonical tag? Learn about the duplicate content problem, specifying a standard address, filters and parameterized addresses in e-commerce, the difference from 301, and common mistakes.

A product list in your store looks like a single page, but it may actually live at several addresses. One sorted by price, one coming from a newsletter link, one narrowed by a color filter, one with a trailing slash… For the customer, they are all the same page; for the search engine, each one is a separate address. Having the same content at so many addresses creates uncertainty about which version should be promoted.

In this guide we answer the question **what is the canonical tag** in plain language: the duplicate and similar content problem, what the canonical (standard address) tag is for, how it is written, how it is used in e-commerce for filter, sorting, tracking parameter, variation and category addresses, the self-referencing canonical, how it differs from a 301 redirect, common mistakes and a checklist. At the end you will find canonical management with Faprika and a six-question FAQ.

Key Takeaway

“The canonical tag is a signal that says ‘this is the main page’ when the same or very similar content exists at more than one address. It doesn’t take the visitor anywhere else; it tells the search engine which address to evaluate. On e-commerce sites with many address variations, this signal is the cleanest way to gather visibility on a single address.”

## What Is the Canonical Tag?

The canonical tag is an HTML link tag, written in the head section of a page, that tells search engines a page’s standard (main) address. When the same content exists at more than one address, it specifies which address should be indexed and shown in rankings.

“Canonical” means “main, standard”. The tag can also be described as a “standard address tag” or “main address declaration”; in the industry it is commonly called the canonical tag, canonical URL or rel=canonical. In its simplest form it is a single line:

<code><link rel="canonical" href="https://magazaadresiniz/spor-ayakkabi"></code>

This line says: “Whichever address you are reading this page from, my main address is magazaadresiniz/spor-ayakkabi.” The visitor doesn’t see it, and nothing changes in the address bar. The one who reads the tag is the search engine crawling the page.

An important detail: canonical is not a command but a strong hint. The search engine largely takes the tag into account, but it may make its own decision if it sees conflicting signals across pages. So writing the tag alone is not enough; the address, redirects and sitemap must also be consistent with the tag. In the sections below we will build this consistency step by step.

## What Is Duplicate Content and Why Is It a Problem?

Duplicate content is the publication of the same or very similar content at more than one address. In e-commerce, it is important to know that this is usually not the result of bad intent but an innocent consequence of the site’s own structure.

The problem is this: the search engine has to decide which of the addresses carrying the same content to show in rankings. The decision may not fall on the address you want; for example, a parameterized, ugly address may outrank the clean category address. On top of that, the value of links pointing to the page is split among several addresses, and each address stays weak on its own. Since the search engine also allocates limited time to crawl your resources, it may reach your new and important pages late while dealing with unnecessary duplicate addresses.

*Görsel: What is the canonical tag: four duplicate addresses, such as sorting, tracking, filter and trailing slash, pointing to a single main address (Four addresses showing the same product list and the main address they all point to)*

The illustration shows a typical category page. A sorting parameter, a tracking parameter, a filter parameter and a trailing slash produce four separate addresses; all four list the same products. When the canonical tag points to the main address on all four, the search engine evaluates a single page, and the value is gathered on that page.

| Duplicate address problem | What happens? | Result with canonical |
| --- | --- | --- |
| Same content at several addresses | The search engine decides which one to pick | You declare the choice |
| Link value is split | Each address stays weak | Value is gathered on the main address |
| Crawl time is wasted | Important pages are discovered late | Less attention goes to duplicate addresses |
| An ugly address appears in results | Parameterized address is visible | The clean address stands out |

We recommend reading

How to Set Up

E-Commerce

SEO Settings

## What Is the Canonical Tag Used For?

The canonical tag does four jobs: it declares the standard address, gathers value on a single address, reduces duplicate content ambiguity, and helps direct crawl resources to important pages. All of them are part of explaining your site’s own structure correctly to the search engine.

- **Declares the standard address.** Among the addresses where the same content lives, you decide which one is the main one.
- **Gathers value together.** Link and interest signals spread across different addresses meet on the main address.
- **Reduces ambiguity.** Instead of guessing which version to choose for the same content, the search engine relies on your declaration.
- **Organizes parameterized addresses.** Sorting, filter and tracking parameters keep working without breaking your site; only the main address appears in search results.

There are also things the canonical tag does not do: it does not remove the page from the index, does not redirect the visitor, and does not make the duplicate address inaccessible. You will see these differences in detail in later sections, compared with 301 redirects and noindex.

## How Do You Write a Canonical Tag?

The canonical tag is written in the head section of the page as a single link tag, with rel="canonical" and the href field carrying the full path of the main address. There should be only one on each page.

*Görsel: How to write a canonical tag: the link tag in the head section, the rel canonical field and the href field that points to the main address (Three parts of the canonical tag: its place, the rel field and the href field)*

The example below shows the code of a parameterized category address. Even if the page is opened from the /spor-ayakkabi?sirala=fiyat address, the tag points to the main address:

<code><head> <title>Spor Ayakkabı</title> <link rel="canonical" href="https://magazaadresiniz/spor-ayakkabi"> </head></code>

| Part | What to write? | Point to watch |
| --- | --- | --- |
| Where | The page’s head section | A tag written in the body may be ignored |
| rel field | canonical | The spelling must be exact; a typo invalidates the tag |
| href field | Full address of the main page | Use an absolute address including protocol (https) and domain name |
| Quantity | One tag per page | A second tag creates a conflict; both may be ignored |

### 1. Use an absolute address

An absolute address is the full address that also includes the protocol and domain name (https://magazaadresiniz/spor-ayakkabi). A relative address (/spor-ayakkabi) can be misinterpreted in some cases; the full address removes ambiguity.

### 2. Choose a single version

Be consistent in writing the address: with www or without, https or not, with a trailing slash or without? Whichever you choose, all canonical tags must use the same format; otherwise the tag itself becomes a new source of duplicate addresses.

### 3. The main page must actually open

The address the canonical points to must open without problems: it must not redirect, return an error or ask for a login. If the address it points to is broken, the tag is useless and the page is left on its own.

### 4. Keep it consistent with the page’s content

Canonical links pages with the same or very similar content to each other. Pointing the tags of two pages that differ from each other to the same address misleads the search engine; your page may be ignored or evaluated on its own.

Tip

See the tag in the browser

View the page source and look for the line containing rel="canonical" in the head section. If the tag is a single line and the address it points to is the page’s main address, you are on the right track. If you see more than one line, there is a conflict.

For files (for example PDF documents), since there is no page body, the same information can also be given in the header of the server response. On product and category pages, the page template produces the tag itself, and you mostly manage it through settings.

## When Is Canonical Needed in E-Commerce?

In e-commerce, canonical is needed whenever the same content can be reached via more than one address: filter and sorting parameters, tracking parameters, variation addresses, access to the same product from several categories and address version differences are the main examples.

### 1. Filter and sorting parameters

When sorting by price, or choosing a color, size or brand filter in a product list, a parameter is added to the address. Since sorting usually shows the same products in a different order, it carries no separate page value; these addresses point to the main category address. For filters, the decision depends on the content: a filter that people genuinely search for and that contains enough products, such as “black sneakers”, may be designed as a separate entry page. Such specially prepared pages point to their own address; filter combinations randomly chosen by the user point to the main category. For the user side of filters, see the [product filtering and search bar optimization](https://www.faprika.com/en/blog/product-filtering-and-search-bar-optimization-in-e-commerce) guide.

### 2. Tracking parameters

Tracking parameters added to campaign links (such as source, medium, campaign name) do not change the page’s content but do change the address. Every variation coming from newsletter, social network and ad links can count as a new address. Canonical points all these addresses to the clean address without parameters; tracking keeps working, while only the clean address remains in search results.

### 3. Variation addresses

If the variations of a product, such as color or size, open at separate URLs, these near-identical pages risk being treated as duplicates. When a variation has no search value of its own (for example, it differs only by a number), the main product URL is set as the canonical. If each variation is a product people search for on its own and its content is genuinely different, the decision may change; consider it product by product. The [what are product attributes](https://www.faprika.com/en/blog/what-are-product-attributes) guide helps you structure product attributes and variations.

### 4. Several category URLs for the same product

If a product is listed in more than one category, different URLs can lead to the product page through the category path (for example, when the category name is part of the URL). The canonical tag of all these URLs should point to the product’s single, permanent URL. That way, no matter which category the product is opened from, its value is consolidated on the same page.

### 5. www, trailing slash and http/https differences

If your site can be opened with and without www and www, with and without a trailing slash, and with http and https, the same page can be duplicated into as many as eight URLs. The real fix is to redirect to a single version on the server side with a 301; the canonical tag should then repeat your chosen version on every page as an extra safeguard on top of that redirect. Secure connections are covered in detail in the [what is an SSL certificate](https://www.faprika.com/en/blog/what-is-an-ssl-certificate) article.

### 6. Pagination

When a category list is split across several pages, the second and third pages show different products. These pages are not copies of the first page; pointing the canonical tag of all of them to the first page can keep the products on page two from being visible to search engines. The general principle: each pagination page points to itself (a self-referencing canonical).

### 7. On-site search result pages

Result pages generated by queries typed into the search box can produce an endless number of URLs and carry no lasting content value. For these pages, canonical alone may not be enough; keeping them out of the index (noindex) is often the better method. The comparison below makes this decision easier.

| Situation | Recommended approach | What does canonical point to? |
| --- | --- | --- |
| Sort parameter | Link to the original URL with canonical | Category URL without parameters |
| Tracking parameter | Link to the clean URL with canonical | URL without parameters |
| Random filter combination | Link to the main category with canonical | Main category URL |
| Purpose-built filter page | Keep it in the index with its own URL | Its own URL |
| Variation that differs only by a number | Link to the main product with canonical | Main product URL |
| Product URL reached from a different category | Point to the single permanent product URL | The product’s original URL |
| Pagination pages | Each page points to itself | Its own URL |
| www, http and trailing-slash versions | 301 redirect, with canonical as an extra safeguard | The single version you chose |
| On-site search results | Usually noindex | Varies by page |

Recommended reading

How to Do Category Page SEO

## What Is a Self-Referencing Canonical?

A self-referencing canonical is a page naming its own URL in its canonical tag. Even a page with no duplicates states clearly that it is the original URL itself.

At first glance it may seem unnecessary: if the page has no copies, why point to itself? The answer is that the page can also be opened at an address you don’t know about. When someone adds a tracking parameter to a link, a promotion tool changes the URL, or another site writes the address slightly differently, a new version of the page is born. If every page carries a canonical pointing to itself, all of these accidental versions are automatically tied back to the original URL; no extra work is needed.

| Page type | What should canonical point to? |
| --- | --- |
| Home | The home page’s single, chosen URL |
| Category page | Category URL without parameters |
| Product page | The product’s permanent URL |
| Blog post and info page | Its own URL |
| Pagination page | That page’s own URL |

Tip

Don’t remove the tag just because there are no copies

The idea that “a page with no copies doesn’t need a canonical” is common but wrong. A self-referencing tag is a quiet insurance against URL variants that may appear later. If your page template produces it automatically on every page, leave it alone.

## What Is the Difference Between Canonical and a 301 Redirect?

A 301 redirect permanently sends visitors and search engines to the new URL; the canonical tag leaves the duplicate URL open and only states which one is the original. The first is a firm move, the second is a suggestion.

*Görsel: Difference between the canonical tag and a 301 redirect: what happens to the visitor, whether the old address opens, when to use each and what the effect is (Side-by-side comparison of a 301 redirect and the canonical tag)*

Tell them apart with an example. You permanently changed a product page’s URL: the old URL will no longer be used. A 301 redirect is right here; visitors and search engines arriving at the old URL go to the new one. On the other hand, the same product list can be opened both with a sort parameter and without it, and both serve the customer. Here the duplicate URL must stay open; the canonical tag states the original URL.

| Feature | 301 redirect | Canonical tag |
| --- | --- | --- |
| Visitor | Is sent to the new address | Stays on the address they opened |
| Old or duplicate URL | No longer opens | Keeps opening |
| Where is it defined? | In the server response | In the page’s head section |
| Strength of effect | Definitive redirect | A hint, not a command |
| Typical use | Moved or removed page, merging URL versions | Pages with parameters and similar content |

Rule of thumb: if the page has moved permanently or URL versions are to be merged, use a 301; if the URLs will live side by side, use canonical. How a redirect is set up and how it differs from 302 and 410 is explained in detail in the [what is a 301 redirect](https://www.faprika.com/en/blog/what-is-a-301-redirect) guide.

## What Is the Difference Between Canonical, noindex and robots.txt?

Canonical says which URL is the original, noindex asks that a page not appear in search results, and robots.txt tells search engines which URLs they should not enter at all. The three answer different questions and are not substitutes for one another.

| Method | Question it answers | When to use it? |
| --- | --- | --- |
| Canonical | Which URL is the original for this content? | The same or similar content at several URLs |
| noindex | Should this page appear in search results? | A page with no value or that should stay hidden |
| robots.txt | Should this URL be entered at all? | Areas you don’t want crawled |
| 301 redirect | Where is this URL now? | Permanent move and merging of versions |

Mixing these methods causes problems. For example, if you block a page from crawling with robots.txt, the search engine cannot reach the page and read its canonical tag. If you put both noindex and a canonical pointing to another page on the same page, you have given two contradictory instructions. Pick a single intent for each page and express it with a single method.

Recommended reading

What Is Structured Data (Schema)?

## What Are Common Mistakes in the Canonical Tag?

Most canonical errors come not from the tag itself but from the URL it points to or from the settings around it being wrong. The most common ones are listed below; all of them can be prevented in advance.

- **Building a canonical chain.** If page A points to B and page B points to C, the search engine may not follow the chain reliably. Every tag should point directly to the original URL.
- **Contradicting noindex.** Having noindex and a canonical to another URL on the same page sends a contradictory message: “don’t index, but this is the original page.”
- **Pointing to a redirected or erroring URL.** If the original URL redirects to another URL or doesn’t open, the tag is wasted.
- **Leaving URLs in the sitemap that conflict with the tag.** If the canonical of a URL listed in the sitemap points to a different URL, the search engine cannot tell which signal to trust. The sitemap should contain only original URLs.
- **Pointing every page to the home page.** If a template error makes every page’s canonical point to the home page, thousands of products and categories lose value in the index. It is one of the most serious mistakes.
- **Pointing pagination to the first page.** This makes it harder to discover the products on the second and later pages.
- **Using a relative or incorrectly written URL.** A missing protocol, the wrong domain version, or a typo makes the tag ineffective.
- **Placing more than one tag on a page.** If the template and a plugin both generate a tag at the same time, two lines appear and both may be ignored.
- **Trying to merge different content with canonical.** Pointing pages that differ from each other to the same URL misleads the search engine; the tag is ignored.
- **Using parameterized URLs in internal links.** If the menus and cards on your site link to parameterized URLs, signals are scattered no matter how correct the canonical is. Internal links should point to the original URL too.

Tip

Canonical is about consistent messages

Canonical is not a rule on its own but a matter of alignment: internal links, the sitemap, redirects and the tag must all point to the same original URL. If one says something different, the search engine goes with the majority and your choice may be left behind.

## How Do I Check That the Canonical Tag Is Working?

To check the canonical tag, it is enough to find the tag in the page source and open the URL it points to, confirm there is only one tag per page, and see that it matches the sitemap and internal links. On large sites this check is done per template type: one example each from product, category, blog and search pages is enough.

1. **Open a product page.** Find the canonical line in the source; check whether it points to its own URL.
2. **Try a URL with parameters.** Open the same page with a sort or tracking parameter; the tag should point to the URL without parameters.
3. **Open the URL it points to.** It should open without problems, without redirecting, without errors.
4. **Count the tags.** There should be a single line on the page.
5. **Try the URL versions.** With and without www, http and https, with and without a trailing slash should all go to a single version or show the same canonical.
6. **Compare with the sitemap.** The canonical of each URL in the sitemap should be itself.
7. **Check the reports in the search engine management tool.** Duplicate content and chosen-original warnings show the pages where your choice and the search engine’s choice diverge.

*Görsel: Canonical tag checklist: single tag, absolute address, main address opens, self-reference, noindex consistency, sitemap, internal links and chain check (Eight-item checklist for canonical)*

The eight items in the illustration are also given below as a list, so you have them at hand during a detailed check:

| # | Check | What happens if it’s wrong? |
| --- | --- | --- |
| 1 | There is a single canonical on every page | Conflicting tags may be ignored |
| 2 | The URL is complete and absolute (including protocol and domain) | The tag is misinterpreted |
| 3 | The original URL returns 200 and does not redirect | The tag is wasted |
| 4 | The main page points to itself | No insurance against URL variants |
| 5 | Does not conflict with noindex | The search engine gets two opposing instructions |
| 6 | The sitemap contains only original URLs | Signals undermine each other |
| 7 | Internal links go to the original URL | Parameterized URLs gain strength |
| 8 | No chains: a tag doesn’t point to another tag | The chain may not be followed |

After you make the fixes, the result may take time to show: until the search engine recrawls the pages and re-evaluates the signals, the previous state may remain in the results. Waiting after the change and monitoring the reports for a few weeks is a natural part of the process.

Recommended reading

What Is an SSL Certificate?

## Canonical and URL Management with Faprika

In the Faprika e-commerce platform, the canonical URL setting is among the store’s SEO settings. According to the SEO settings guide in the Help Center, the SEO section under Configuration, Settings, General Settings in the control panel has a “Canonical Url Active” option; this setting is used to specify unique, one-of-a-kind page URLs and helps preserve value by preventing content from being duplicated at different URLs. The same section also covers “Domain Control”, for consistent access to the www and non-www URL versions.

The plan feature comparison includes rows such as “Canonical / H Tag Management / Robots / Sitemap” and “301 / 302 / 410 Panel / Managing URL Records”; which plan includes which management tools varies by plan, so see the [e-commerce plans](https://www.faprika.com/en/pricing) page for the current scope. To set up title, description and canonical settings together across the store, the [how to configure e-commerce SEO settings](https://www.faprika.com/en/blog/how-to-set-up-e-commerce-seo-settings) guide will help, and for redirecting old URLs during URL migrations, the [what is a 301 redirect](https://www.faprika.com/en/blog/what-is-a-301-redirect) guide will help. You can find out how to strengthen category pages in the [category page SEO](https://www.faprika.com/en/blog/category-page-seo) article.

## Frequently Asked Questions

**What is the canonical tag?**

The canonical tag is an HTML link tag, written in a page’s head section, that tells search engines which address is the main (standard) page when the same or very similar content exists at more than one address. It does not redirect the visitor; it only gives information to the search engine.

**What is the canonical tag used for?**

It reduces duplicate-content ambiguity, consolidates link value scattered across different URLs on the original URL, and helps the clean URL rather than a parameterized or ugly one appear in search results. In e-commerce it is especially important for URLs with filter, sort and tracking parameters.

**Are the canonical tag and a 301 redirect the same thing?**

No. A 301 redirect permanently sends both the visitor and the search engine to the new address, and the old address no longer opens. The canonical tag leaves the duplicate address open and only declares the main address; it is a strong hint, not a definitive redirect. If the page has moved permanently, use 301; if the addresses will live side by side, use canonical.

**Should I add a canonical tag to every page?**

Yes, in general every indexable page should carry a canonical pointing to its own address (a self-referencing canonical). Even if the page has no duplicate, it acts as insurance against address variations you don’t know about. Each page should contain only one tag.

**Should the canonical of pagination pages be the first page?**

Generally no. The second and later pages show different products from the first page; pointing them all to the first page can make those products harder to discover. It is safer for each pagination page to point to its own address.

**What can be the reasons if the canonical tag is not working?**

The most common reasons: the address the tag points to redirects or returns an error, it conflicts with noindex on the same page, a page has more than one tag, the sitemap and internal links point to a different address, a chain forms, and pages that differ from each other point to the same address. All signals should point to the same main address.

Manage URL chaos, consolidate visibility on a single URL

Let’s plan canonical, redirect and SEO settings together to fit your store’s structure. With Faprika, let every page of your store be described to search engines with the right URL.

Request a Demo

#### You May Also Like

- [**What Is a 301 Redirect?**](https://www.faprika.com/en/blog/what-is-a-301-redirect)
- [**E-Commerce SEO Settings: How Are They Done?**](https://www.faprika.com/en/blog/how-to-set-up-e-commerce-seo-settings)
- [**How to Do Category Page SEO?**](https://www.faprika.com/en/blog/category-page-seo)
- [**E-Commerce Product Filtering and Search Bar Optimization**](https://www.faprika.com/en/blog/product-filtering-and-search-bar-optimization-in-e-commerce)
