The Importance of Canonical Tags in SEO

canonical tags

Specifying canonical tags is one of the most basic search engine optimisation actions you can take for your online shop. In the source code of a website, canonical tags specify which URL should be prioritised by search engines. Duplicate content can thus be avoided, even with the same content on different URLs.

Each unique piece of content on a website should only be accessible at a single URL. Otherwise, duplicate content is indexed. This means that in order to answer a search query, a unique URL cannot be found by the search engine. This often leads to poorer rankings.

How can different URLs be created?

A source for different URLs on a web page can be the structure of shop software and content management systems. For example, in most Shop software systems, the URL path is often built according to the categories in which the articles are assigned. But most of the time, items are placed in several categories. For example, a green dress could be listed under the category "clothes" and also under "green".

https://theshop.com/clothes/green-clothes/

https://theshop.com/green/green-clothes/

It is the same product page but two URLs are generated. Here, you should now indicate with a canonical tag, which URL is to be used by the search engines to display the results.

In addition, URL variants can result from dynamic URLs or tracking parameters.

Examples:

https://theshop.com/?category=clothes&color=green

https://theshop.com/clothes/green-clothes/?utm_source=newsletter

How are canonical tags specified?

cloned sheep

Shutterstock/Photoagriculture

Canonical tags are specified in the source code.

https://theshop.com/clothes/green-clothes/

If the same content can be retrieved via several other URLs, you can specify for search engines as follows:

<Link rel = "canonical" href = "https://theshop.com/clothes/Green-dress / "/>

This element with the attribute rel = "canonical" must be added to the <head> section of these pages and all variants.

It should be given the absolute URL (with domain), not only the relative URL (which would contain “/dresses/green-dresses/”).

Most Shop software systems default to a canonical tag for the individual pages, or this can be set as an option. In the case of the various categories, some systems, such as OXID, can set a main category that is used for the URL path.

Here are more e-commerce platforms, which explain the settings for the canonical tags:

Structured data for online shops  Display more company info directly in the search results Download whitepaper

07/08/19
Select Country: