Screenshot of a WordPress tag pages HTML source code using the Stallion SEO Plugin.
That’s what you should see if you want the canonical URL on tags to point to the homepage.
The Stallion SEO Plugin is designed to load the above code on webpages that need it, if you don’t want a category changed there’s no reason to add anything to it (minimize impact on server resources).
This is asking Google to consider tags not important, please don’t index them and redirect ~85% (only way to get it all back is don’t link to tags) of the link benefit wasted on tags back to the home page.
Like with noindex, Google doesn’t always respect canonicals. Overtime if the only links to tags are internal they should slowly stop being indexed. If you had a lot of incoming links to tags, Google might consider some of them important and keep them indexed (also does this with noindex).
Continue Reading Duplicate Yoast SEO Open Graph Meta Tags