The problem is that for one domain and it’s normal indexed pages there are also many related cdn pages that have been indexed.
I understand that the canonical tag should be the solution, but then we have the problem of the different languages.
So, let’s set an example.
Our original domain is: Example Domain and the cdn domain is cdn0.example.com
Under this cdn domain there are subpages, like: cdn0.example.com/categories/typea and each one has different versions for every locale:
So logically the canonical for all these above should be the: cdn0.example.com/categories/typea
But what about the original domain Example Domain.
How should all the previous be connected to the original one?
Maybe a robots file would be the solution after all?
With a parameter of : Disallow: /