Frequently Asked Question
Frequently Asked Question
In a nutshell, canonical tag tells search engines which version of a page you want to appear in search results.
Using a canonical tag URL informs search engines which version of a page is the master version, and helps avoid problems caused by identical or "duplicate" content appearing on multiple different URLs.
Reasons to choose a canonical URL
To specify which URL that you want people to see in search results.
To consolidate link signals for similar or duplicate pages.
To simplify tracking metrics for a single product or topic.
To manage syndicated content.
To avoid spending crawling time on duplicate pages.
Implementation:
The simplest and most common way to implement a canonical tag URL is to use a rel="canonical" link tag. Add a <link> element with the attribute rel="canonical" to the <head> section of duplicate pages, pointing to the canonical page.
Example:
<link rel="canonical" href="https://example.com/dresses/green-dresses" />
Additional information:
https://developers.google.com/search/docs/advanced/crawling/consolidate-duplicate-urls