This question is specific to Magento, but as an FYI, here is a link to Google definition of cloaking: https://support.google.com/webmasters/answer/66355?hl=en
One of our Magento stores has been banned by Google for "cloaking". We have done a full investigation of our stack and can't seem to find anything specifically that we have done to trigger this ban. We have absolutely nothing checking specifically for the google bot user agent. Our site treats Google bot like any other user.
Unfortunately Google is unwilling to tell us exactly we we did to get banned. Google has told us that a test is to request a page with a normal user agent (chrome for example) and then request the page with a google bot user agent. Take both of the HTML results and hash them (we are using md5) and compare the strings. If the strings don't match then the page is "cloaking" (at least that's what we have been told).
Our script identified the following diffs causing our hashes to not match:
Magento FPC related comment tags like this:
<!--{TOPMENU_7642615c1b9a72d412676bd2c56a7e9a}-->
Magento form key tags like this:
<input name="form_key" type="hidden" value="H8ojGUSABI6wsLVP" />
Has anyone else had this issue?
Is there any good way to resolve this?
Thanks!