Google's John Mueller said in a video hangout at the 3:16 mark that the URLs Google finds in your XML sitemap files are often used to define your canonical URLs. John said "we recommend doing that is ...
Google updated its JavaScript SEO best practices document with a new section on how to set the canonial URL when using JavaScript. Google wrote, "The best way to set the canonical URL is to use HTML, ...