what is canonical tag

11 months ago 24
Nature

A canonical tag, also known as a rel="canonical" tag, is an HTML element that helps webmasters prevent duplicate content issues in search engine optimization by specifying the "canonical" or "preferred" version of a web page. It is placed in the <head> section of a webpages HTML source code and tells search engines which version of a URL represents the master copy of a page. Canonical tags are used to consolidate link equity (ranking strength) and to prevent problems caused by identical or "duplicate" content appearing on multiple URLs. Canonical tags are not a directive but rather a signal for search engines, and they may choose a different canonical to the one you declare. Canonical tags are a valuable deduplication tool that can resolve issues with duplicate content or near-identical pages that you need to keep.