# https://www.robotstxt.org/robotstxt.html
User-agent: *
Allow: /
Disallow: /api/
Disallow: /admin/
# 搜索结果页不索引,避免低质重复页面
Disallow: /search?*
# 静态资源允许爬取(让搜索引擎能抓取海报缩略图)
Allow: /*.jpg$
Allow: /*.png$
Allow: /*.svg$
Allow: /*.webp$
Allow: /*.css$
Allow: /*.js$
# 主要搜索引擎单独提速
User-agent: Googlebot
Allow: /
Crawl-delay: 0
User-agent: Bingbot
Allow: /
Crawl-delay: 0
User-agent: Baiduspider
Allow: /
Crawl-delay: 0
User-agent: YisouSpider
Allow: /
User-agent: Sogou web spider
Allow: /
User-agent: 360Spider
Allow: /
# Sitemap: https://example.com/sitemap.xml