How to set one path alias as the canonical alias? I use the Tags taxonomy on several of my content types. In order to assist with a site-wide filtering mechanism, I'd like to be able to create additional path aliases for each piece of content.

For example, if my tags include baseball, football, soccer, and I post a news Article, I would like to have a primary path alias to that node using:

/news/my-article-1

but I'd also like to create a path alias to it for:

/baseball/news/my-article-1

/football/news/my-article-1

/soccer/news/my-article-1

However, when I create these programmatically, drupal seems to choose one of them, arbitrarily, to be the canonical alias. Is there any way I can control which alias is the canonical one?
Metatg seems to be your answer:

Currently supported meta tags:

Abstract

Author

Canonical URL

Copyright

Description

Dublin Core (sub-module)

Generator

Image source

Keywords

News Keywords

Open Graph Protocol (sub-module)

Original Source

Publisher URL

Robots

Shortlink URL

Title (e.g. Page titles)

Twitter Cards (sub-module)