Google网站管理员工具和重复链接

时间:2013-10-07 08:09:24

标签: seo robots.txt google-webmaster-tools

我遇到了一些问题,现在我对谷歌网站管理员工具感到困惑

我有例子:

http://site.com/link/text.html

我在谷歌分析上使用CustomVar来跟踪来自外部网站的点击 示例

http://site.com/link/text.html?promoid=123

现在在网站管理员工具中我有重复链接的密码

在robots.txt中添加

Disallow: *?promoid

但我不确定这个好主意......

我现在应该做什么,仍然使用机器人文件并禁止 promoid 或者使用rel =“ canonical ”?

编辑:所有带有?promoid = 123的链接都发布在外部网站上而不是我的...

1 个答案:

答案 0 :(得分:0)

这正是规范网址的用途。它会告诉Google http://site.com/link/text.html是用于该网页的主要网址,而使用该规范网址的任何其他网页只是该网页的一个小变体。