【发布时间】:2010-10-18 05:18:35
【问题描述】:
在我的 robots.txt 文件中,我有以下行
用户代理:Googlebot-Mobile 不允许:/
用户代理:GoogleBot 不允许:/
网站地图:http://mydomain.com/sitemapindex.xml
我知道如果我放前 4 行,googlebot 不会索引网站,但是如果我放最后一行 Sitemap: http://mydomain.com/sitemapindex.xml,googlebot 是否能够索引网站?
谢谢,
【问题讨论】:
-
这是 google 的问题,不是编程问题
-
我同意不编程,但程序员知道这一点并没有什么坏处。
标签: robots.txt googlebot