Page 1 of 1

Where, as a link, specify the path to the file of the preferred format.

Posted: Wed Jan 22, 2025 5:29 am
by gafimiv406
Strictly speaking, the rel and href attributes are rarely used here and are mainly used to indicate alternative language versions of pages, but an XML sitemap is also quite suitable as a method of communicating canonical addresses to search engines. The fact is that Google initially considers all links given in the sitemap.xml file to be original. You just need to choose the canonical pages yourself, write their URLs (with HTTPS!) in the <loc></loc> tags, and the search engine will independently determine which documents netherlands whatsapp number database duplicate content and which are the main ones.

With the help of CMS
If your website runs on a CMS engine like WordPress, Joomla, Drupal, and others, you can use its functionality to set up a link with the rel="canonical" and href attributes. Most popular content management systems provide plugins that allow you to quickly specify canonical pages with virtually no manual intervention. For example, Yoast SEO can handle this in WordPress.

When to Set Up a Canonical Tag
All situations requiring the based on the problem of content duplication. But page content is not always literally duplicated: it happens that one web document is served by different URLs. For example, a landing page that has several links from different advertising channels. In fact, these are not duplicates - and yet the search engine will consider them separate web pages due to differences in the address. Working with the canonical attribute allows you to avoid such a development of events. Below we will tell you under what conditions it is worth setting up link, rel and href.

When duplicating pages
Firstly, of course, canonicals must be specified for web pages with identical or very similar content: for example, cards of the same product in different colors or a catalog included in several categories at the same time. If you know for sure about duplicates on your site, be sure to add canonical links to them to avoid indexing non-unique content and transfer all the "authority" to the original page. You can find duplicates using Yandex.Webmaster and Google Search Console (GSC), as well as third-party online tools such as Topvisor or Sreaming Frog SEO Spider.

On pagination pages
When a website contains long lists of products, articles, images or other content, they are usually split into separate web pages and numbered to speed up loading and make it easier for the user to perceive the information. This process is called pagination. Indexing all pagination pages is not always beneficial: for example, their content may be repeated due to different filtering settings, which has a negative effect on the authority of the resource in search engines. In this case, the canonical element will help focus the attention of bots on the main page of the list. As a rule, the “Show all” web page or simply the first one in the category is set as the canonical one. That is, on all pagination pages, starting from the second one, a link of the following type is indicated: