Actually canonical tag use for avoiding duplicate content. Where as, you moved website from http to https then content on both sites is same. Then bots treat as duplicate or copied content. At this time, you should use the canonical tag. I briefly explain with an example here.
You have two pages(A and B) on your website. In that, both have the same content. Even, you need the two pages in your site. But bots treated as duplicate content. For this reason, you need to use a canonical tag. At this time, you use the "canonical tag" on which page you want to index and rank. In the remaining one, you use "no index" meta robots tag. Then bots index and rank the which has canonical tag
|