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.
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.
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-