What is Canonical tag (rel=canonical) and how to use it


Canonical tag and its Importance

People often talk about the canonical tags and its benefits. before implementing it we should deeply know about the Canonical tags and its benefits of implementation in a blog/website. To understand the Canonical issue and use of the tag, let us take an example – suppose there is a website with url www.xyz.com and it has two pages having same content. the pages are www.xyz.com/cloths/type824 and www.xyz.com/pageid~4?type824. Although the two pages have same content but having different addresses which will create duplicasy problem.

what-is-canonical-tag
rel=”canonical”

we see here the second page url is not user friendly and also it is not much spiderable as compare to first one. so we should use the Canonical tag on second one page to say it to Search engine that Although there is same content but give importance to the first page that is www.xyz.com/cloths/type824. and so Google (or other search engine) will understand that the main page is first one and second one is just copied.

Recommended Post : Know Meta tags for websites

Benefits of using rel=”canonical” tag

  • You can create n number of pages with the same content without getting penalized.
  • Search Engine will start showing the main page as you recommend
  • Useful for E commerce Websites as there are repeated items in many categories.

How to use rel=”canonical” tag

You just need to write a line of code below <head> section of any website/blog. The format is as shown below-

<link rel=”canonicalhref=”#” />
You just need to change # with url of main pagefrom where the content has been copied. Now Google will understand the main page and copied page and so It will start showing the original page in search result and site will be never Penalized.-> Feel free to ask if you have any issue.


Leave a Reply

Your email address will not be published. Required fields are marked *