问题原文
原帖链接 · Iucounu · CC BY-SA 3.0
I need to add canonical URL meta tags to our website. The general way to do this should include any URL parameters, but is this true for tracking parameters too, such as utm_ parameters?
I ask partly because I know this is guesswork, as evidenced by the vague answers given on forums and blogs about this question. And while we can guess that Google may disregard utm_ parameters, it might be trickier to assume the same about Bing et al. In addition, Urchin parameters are not the only tracking parameters out there.
已采纳解答
原帖链接 · GDVS · CC BY-SA 3.0
No, you wouldn't include tracking parameters in the canonical link element.
It's certainly not true to say that the "general way to do this [set canonical URLs] should include any URL parameters". Most often, the canonical link element is being used, at least in part, to exclude parameters.
What is the correct approach to canonicalisation will differ by site, of course: parameters may very well be part of a valid canonical URL, but not necessarily.
Also, no need to speculate on whether Google disregard utm parameters. They don't. See screenshot below, showing a duplication due to utm parameters.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
