从Google网站管理员中删除相同类型的多个网址

时间:2013-11-19 19:56:13

标签: google-webmaster-tools

我不小心保留了一些www.example.com/abc/?id=1类型的网址,其中id的值可以在1到200之间变化。我不希望这些网址出现在搜索中,因此我使用google网站管理员工具的移除网址功能。如何一次性删除所有这些类型的网址?我试过www.example.com/abc/?id=*,但这没效果!

1 个答案:

答案 0 :(得分:0)

使用robots.txt即阻止它们。

User-agent: * 
Disallow: /junk.html 
Disallow: /foo.html 
Disallow: /bar.html