Q:

Preventing links with query parameters from being indexed by Google

I manage a mobile version of a desktop site. The mobile site has
a lot of links to the desktop site.
I want to prevent Google from indexing the links to the desktop site.
I have tried to use rel="canonical" and rel="alternate" but it doesn't seem to work.
I have also tried to use rel="nofollow" but it doesn