User-agent: * Allow: / # 百度爬虫 User-agent: Baiduspider Allow: / # 谷歌爬虫 User-agent: Googlebot Allow: / # 禁止访问的路径 Disallow: /api/ Disallow: /admin/ Disallow: /private/ # 站点地图 Sitemap: https://your-domain.com/sitemap.xml