What Is a rel="canonical" Link Tag in HTML?

Find out what a canonical tag is

A <link /> tag with rel="canonical" is used to specify a "canonical page" (which you can think of as the master copy of a page). This is useful when you have multiple URLs with similar or duplicate content. In such cases, it can help search engines link and index the correct page, and may also help prevent your search engine rankings to be negatively impacted for posting the same content multiple times.

To indicate that a particular page is the "canonical page", you can add <link rel="canonical" href="..." /> to the <head></head> section of all duplicate pages, for example, like so:

<link rel="canonical" href="https://example.com/original-post" />

Hope you found this post useful. It was published . Please show your love and support by sharing this post.