Google: We Process rel=canonicals On Initial Fetch, Not Rendered Version

May 11, 2018 • 7:31 am | comments (4) by twitter Google+ | Filed Under Google Search Engine Optimization
 

Google's John Mueller said on Twitter that GoogleBot currently will process the rel=canonical attribute on the initial fetch, not on the rendered version of the HTML. Pedro Dias picked this up while watching the JavaScript session at I/O.

He said "I don’t know if everyone’s seen this but there’s a very important point here regarding canonicals. And it’s the fact Google only checks canonicals on the raw HTML, not the rendered one." Why is this important, he said you should "make sure your server doesn’t output canonical placeholders that are replaced on render."

John Mueller confirmed this by saying "We (currently) only process the rel=canonical on the initially fetched, non-rendered version."

Eric Wu noted a site doing it wrong:

So make sure to keep this in mind when implementing canonical tags.

Forum discussion at Twitter.

Previous story: WordStream Sells To Gannett For $150 Million
 
blog comments powered by Disqus