The canonical tag (rel=”canonical”) is an HTML element placed in a page’s <head> section, indicating to search engines which version of a page is the “preferred” or original one, when duplicate or very similar content exists across multiple URLs.
The canonical tag is a signal, not a mandatory directive – Google may choose to ignore the specified canonical and select a different URL as canonical, based on its own signals, if it finds contradictory indications (for example, internal links pointing to a different version).
Why it matters
Correctly implementing canonical tags helps consolidate authority signals onto a single version of a page and prevents unjustified ranking dilution caused by duplicate content.