-
序号
规则
解释
1
User-agent: *
开始配置:所有搜索引擎
2
Disallow: /admin/
禁止所有搜索引擎访问/admin目录
3
Disallow: /cache/
禁止所有搜索引擎访问/cache目录
4
Disallow: /config/
禁止所有搜索引擎访问/config目录
5
Disallow: /controllers/
禁止所有搜索引擎访问/controllers目录
6
Disallow: /core/
禁止所有搜索引擎访问/core目录
7
Disallow: /extensions/
禁止所有搜索引擎访问/extensions目录
8
Disallow: /models/
禁止所有搜索引擎访问/models目录
9
Disallow: /plugins/
禁止所有搜索引擎访问/plugins目录
10
Disallow: /uploadfiles/
禁止所有搜索引擎访问/uploadfiles目录
11
Disallow: /views/
禁止所有搜索引擎访问/views目录
12
Disallow: /index.php?s=member*
禁止所有搜索引擎访问根目录下的index.php,参数为s=member*的页面
13
Disallow: /index.php?c=api*
禁止所有搜索引擎访问根目录下的index.php,参数为c=api*的页面
14
Disallow: /index.php?s=sysadmin*
禁止所有搜索引擎访问根目录下的index.php,参数为s=sysadmin*的页面
15
Disallow: /sysadmin/
禁止所有搜索引擎访问/sysadmin目录