We are having an issue with canonical URLs. Some of then include query parameters, which we want to avoid for Google Search console issues.
How can we achieve that? This urls aren’t shown in sitemap neither.
These urls are redirections that we have from our previous website, the redirection is done correctly, but in the canonical name appears the query param.