I'm facing problems of spammy parameters in Google Search Console.
I have a multilingual page (for illustration purposes, let's say that the URL is https://www.example.com/page1.html). The page is translated into multiple languages (https://fr.example.com/page1.html, https://de.example.com/page1.html, etc).
I've added the hreflang tags to each version of the page like this:
<link rel="alternate" href="https://fr.example.com/page1.html" hreflang="fr"/>
<link rel="alternate" href="https://de.example.com/page1.html" hreflang="de"/>
<link rel="alternate" href="https://www.example.com/page1.html" hreflang="x-default"/>
The problem I'm facing is that Google is crawling urls named like this:
https://fr.example.com/page1.html?some_spammy_param=more_spam
and it's complaining that the alternate pages don't link back to it (because obviously, I don't want to include auto generated spammy parameters in my hreflang parameters!).
In a single language site, this would be solved by adding a canonical tag, but Google recommends against using the canonical tag in multilingual sites.