【发布时间】:2013-06-28 02:02:31
【问题描述】:
问题是这样的。我的系统上有一些具有这种模式的 URL
http://foo-editable.mydomain.com/menu1/option2
http://bar-editable.mydomain.com/menu3/option1
我想在 robots.txt 文件中指出它们不应被抓取。但是,我不确定这种模式是否正确:
User-agent: Googlebot
Disallow: -editable.mydomain.com/*
它会按我的预期工作吗?
【问题讨论】:
标签: web robots.txt googlebot