clients keep sending me sitemaps where every url has some weird tracking parameter attached to the canonical. it's driving me insane. if you're stuck with a legacy cms that can't handle clean urls, just use a rewrite rule in your.htaccess to strip the garbage before googlebot even sees the mess. i'm using this to nuking everything after the question mark for specific subdirectories.
RewriteEngine OnRewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^old-path/(.*)$ /new-path/$1? [L,R=301]>cleaning up messy canonical tagsit's not even about the redirects. it's about making sure the crawler doesn't think these are unique pages. if you don't strip the params, you're just bloating your index for no reason.
google loves bloat