ELI5: Explain Like I'm 5

Canonical link element

Okay kiddo, have you ever been to a library? You know how each book has a title and an author and a little code number on the side? Well, imagine if there were two copies of a book with the same title and author and code number, but with slightly different chapters. How would you know which one to read? That's where the librarian comes in and decides which one is the "real" book and which one is just a copy.

The same thing can happen on the internet with websites. Sometimes there are multiple pages on different websites with very similar content, but they might have different web addresses (like www.example.com/page-1 and www.example.com/page-2). This can confuse search engines and make it hard for them to figure out which page is the "real" one and which one is just a copy.

So that's where the canonical link element comes in. It's a special tag that tells search engines which page is the most important or "real" page, and which ones are just duplicates. The tag goes in the code of a webpage and basically says "Hey search engine, this other page over here is the original one, so make sure to give it all the credit and ignore the other ones."

By using the canonical link element, websites can avoid getting punished by search engines for having duplicate content and make sure that their most important pages show up at the top of search results. Does that make sense, kiddo?
Related topics others have asked about: