discuz,X3.2 robots.txt代码这样写对吗
discuz默认的robotstxt就行,不需要特意修改。Disallow
表示禁止抓取后面的目录
# robotstxt for Discuz! X3
#
User-agent:
Disallow: /api/
Disallow: /data/
Disallow: /source/
Disallow: /install/
Disallow: /template/
Disallow: /config/
Disallow: /uc_client/
Disallow: /uc_server/
Disallow: /static/
Disallow: /adminphp
Disallow: /searchphp
Disallow: /memberphp
Disallow: /apiphp
Disallow: /miscphp
Disallow: /connectphp
Disallow: /forumphpmod=redirect
Disallow: /forumphpmod=post
Disallow: /homephpmod=spacecp
Disallow: /userappphpmod=app&
Disallow: /mod=misc
Disallow: /mod=attachment
Disallow: /mobile=yes
0条评论