找回密码
 注册
查看: 2197|回复: 0

请问如何禁谷歌和必应的蜘蛛搜索引擎

[复制链接]

1

主题

0

回帖

114

积分

新生儿

积分
114
发表于 2023-8-10 23:48:40 | 显示全部楼层 |阅读模式 来自:广东省广州市 电信
必应每天都有几千个爬行记录,就是老个人资料


robots.txt我这样写对么,大佬帮纠正一下

#
# robots.txt for Discuz! X3
#

User-agent: *
Allow: /data/attachment/
Allow: /data/cache/
Allow: /uc_server/data/avatar/
Disallow: /api/
Disallow: /data/
Disallow: /source/
Disallow: /install/
Disallow: /template/default/
Disallow: /config/
Disallow: /uc_client/
Disallow: /uc_server/
Disallow: /admin.php
Disallow: /search.php
Disallow: /member.php
Disallow: /api.php
Disallow: /misc.php
Disallow: /connect.php
Disallow: /forum.php?mod=redirect*
Disallow: /forum.php?mod=post*
Disallow: /*?mod=misc*
Disallow: /*?mod=attachment*
Disallow: /*mobile=yes*
Disallow: */home
Disallow: */home.php?mod=spacecp*
Disallow: */home.php?mod=profile*

User-agent: Googlebot
Disallow: /

User-agent: bingbot
Disallow: /

User-agent: manbot
Disallow: /


来源:https://www.dismall.com/thread-18641-1-1.html
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

  • 关注公众号
  • 有偿服务微信
  • 有偿服务QQ

QQ|小黑屋|宝丽爱婴育儿网 ( 湘ICP备18010684号-1 )

GMT+8, 2026-3-2 08:33 , Processed in 0.089649 second(s), 22 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表