【发布时间】:2012-02-26 07:28:08
【问题描述】:
我一直试图在各种谷歌论坛上得到这个问题的答案,但没有一个答案,所以我会在这里尝试。
我有一个使用不同 URL 参数的旧网站,例如domain.com/index.php?showimage=166domain.com/index.php?x=googlemap&showimage=139
如何阻止对这些参数的这些页面的访问?当然不会阻止我的domain.com/index.php 页面?
这可以在 robots.txt 中完成
编辑 我在这里找到了一个帖子:Ignore urls in robot.txt with specific parameters?
【问题讨论】: