我不小心保留了一些www.example.com/abc/?id=1
类型的网址,其中id的值可以在1到200之间变化。我不希望这些网址出现在搜索中,因此我使用google网站管理员工具的移除网址功能。如何一次性删除所有这些类型的网址?我试过www.example.com/abc/?id=*
,但这没效果!
答案 0 :(得分:0)
使用robots.txt即阻止它们。
User-agent: *
Disallow: /junk.html
Disallow: /foo.html
Disallow: /bar.html