Mark Watson’s Artificial Intelligence Books and Blog

Share this post

Google’s canonical link tag

markwatson.com

Google’s canonical link tag

Mark Watson
Feb 21, 2009
Share
Share this post

Google’s canonical link tag

markwatson.com

This is a good idea and I am glad that other search engine vendors are going to support it: allow dynamic web portals to specify a single URL for search engines to use for indexing dynamically generated pages that might have a URL, for example, ending with cruft not required to identify a specific web page (this is one of Google's examples):

product.php?item=swedish-fish&trackingid=1234&sessionid=5678

The point is that it is better for search engines to not have many links pointing to the same page and in this example allow a header providing metadata to search engine indexers to use a shortened and common URL like

product.php?item=swedish-fish

Again using Google's example, here is the addition to a HTML head element to make this happen:

<link rel="canonical" href="http://www.example.com/product.php?item=swedish-fish" />

This obviously saves the search engine companies resources (money!) and makes the user experience better by not having to wade through multiple search results referring to the same page. Of course, search engines try to remove duplicates for you anyway.

Other big winners, if this technique becomes widely used, will be small custom search and semantic web applications that will also benefit from reduced indexing costs.

Share
Share this post

Google’s canonical link tag

markwatson.com
Comments
Top
New

No posts

Ready for more?

© 2023 Mark Watson
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing