Forum Moderators: Robert Charlton & goodroi
As for Google, we put a canonical on PageA to PageB which sells the same product but in a different name and with a lot of new features, of course a new price tag too
Google will absolutely not follow your canonical instruction if the pages are different:I am sorry I don't think that's the case always.
Hreflang is about telling Google the right language version to display and is not related to canonicalisation.It's about the Hreflang tag giving wrong hint to Google about which version to show when the browser language is 'ENG'. So, I am thinking it could also be the reason.
If your product has been replaced with a newer version, you should redirect it to the new version.That's solve the problem. But as I said that page is still kept for old customers. May be we can do a redirect when the referral is Gooblebot, Bingbot or any other referring sites and for direct visits, or known IPs we can remove the 301 redirect. Not sure how feasible it would be though.
I have read somewhere (cannot find the reference right now) that the hreflang should point to a canonical version of URL. So it is possible that there are confusing signals sent to Google.That's what I suppose too.
But if you still want visitors who search for old URL to land on the old product page, then try removing hreflang from the old page and see if Google will start to follow your canonical directive.My dev team is having a hard with removing such tags which are dynamically added by the CMS. Fingers crossed.
May be we can do a redirect when the referral is Gooblebot, Bingbot or any other referring sites and for direct visits, or known IPs we can remove the 301 redirect. Not sure how feasible it would be though.
I would not do that - you could be penalised for cloakingIsn't cloaking all about giving users a different version than search engines UPON CLICKING a link in SERP? If it's Googlebot, then it will continue to see the redirect and visitors clicking from SERP too (assuming the redirected page is still in index). But if it's a direct visit, email clicks where the referrer is not Google.com* then the redirect won't be there. Am I talking about something which is technically possible and is still dangerous?
If your dev team has difficulty in removing dynamically created hreflang, then the alternative is to leave hreflang on the PageA, but to make sure that hreflang points to a canonical version of the page (i.e. to point to language version of PageB).That sounds like a good idea. I should check if they are at least about to modify what's in there already.
Isn't cloaking all about giving users a different version than search engines UPON CLICKING a link in SERP?
why not just use noindex robots on PageA
So, I'm not actually showing two different versions to Google and the users who is landing on my page from Google.