From time to time we get requests to set the
canonical URL of embedded topics to the URL of the blog post. I’ve created a pull request that does exactly that. It unconditionally uses the URL of the original blog post (
canonical for the topic.
There have been various previous discussions like Google indexed link not pointing to the correct post and Duplicate Content in the past.
After reading those posts I’m not so sure about my solution anymore, so I’d like to get some feedback from you.
Should this be a configurable? Is there a good reason for keeping the current behavior of always using the topic’s URL as canonical?
Should the blog post’s URL only be used as canonical for N pages presented to the search bot? After all, only a certain amount of posts is embedded in the blog post. (N probably should be 1)
I’d appreciate your feedback on this. I’m sure there are lots of different use cases out there and I’d like to make an informed decision before I change anything that could affect search engines.