There are SEF extensions whose sole purpose is to do this sort of things. Extensions like sh404SEF will ensure that there is only one URL that should work for each bit of content and automatically redirect the duplicate URLs to the canonical/final version.
- How can I stop readers from entering through the first type of URL? or...
There isn't an automatic way to do this. Facebook comments work based on the URL itself. We do some processing on URLs to remove some common, unwanted, variables that can make URLs look different. In the cases above though, those are 2 valid URLs and JFBConnect wouldn't be able to correct for that. The only way you could fix it, for that specific K2 item, is to add the following into the article contents:
- How can I fix this so that all the comments show up on both URLs?
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.