What is Canonical link ?
A canonical link element is a important tag that helps web admins avoid onsite duplicate content issues. Normally, a website should have several pages that are all unique and distinct from each other. But if you have several very similar or even identical copies of a Web page on your Web site that could confuse the search engines, they will not know which version to show in the Serbs. And there might be one.
Penalizing your website, conclude your website is of very low quality because of all of the duplicate content, economical link element help to avoid all of that.
It lets you specify the original or canonical version of a Web page that you want to appear in the SERPs.If you use canonical elements the right way, you will help search engines and improve your Web sites. This is the syntax.
This is typically placed in the head section of a web page. It may also be placed in the HTTP header. You could omit the protocol or even use it relative to your URLs as well. So this would be valid, but it’s always a good idea to use the protocol HTTP, or it’s pretty. P.S. Using absolute links instead of relative links could help avoid many complications that could arise down the road. Generally students learn it in more detail by enrolling into digital marketing course and specifically SEO course.
Likewise, you could use a grayling’s slash or not. So this would be valid to whatever you choose. You would want to be consistent throughout your site. If you choose to use a trailing slash with your URLs, you would want to keep it consistent throughout
your site in all internal links.
You would want to note that this is not a command or a directive. You’re issuing to search engines. It’s not like if you specify a canonical Ural, Google will always obey that. This is more like a hint you are giving to search engines.
Google will more likely break the canonical URL as the preferred version and rank it in the service. But they might also choose a different bureau, which they conclude should be included in the service.
Let’s take a look at how these new URLs look in the real world. If we take a look at the source code of this page on time dot com, we can see this. It’sDamul element right here. Likewise, if we take a look at the source code of Yahoo! We can see this element here.
It's not a tag
Google refers to these as canonical link elements and not as canonical tags. And there’s a reason for this. It’s the annual metro tags like description, keywords, copyright and so on, how this general format, whereas this is the syntax of the canonical element. So this isn’t just a string that’s being used here. It’s a new URL. And so it’s technically not a tag. But most webmasters refer to these as canonical tags. So this will also be called canonical tags in this course. Still, it would be worth noting that technically at least, this is not a tag.