# 在校工室與JK共度的日常 - Robots.txt # 符合2024-2025年SEO最佳实践和搜索引擎收录标准 # 允许所有搜索引擎访问主要内容 User-agent: * Allow: / Allow: /css/ Allow: /js/ Allow: /img/ # 禁止访问敏感和无用目录 Disallow: /admin/ Disallow: /private/ Disallow: /test/ Disallow: /temp/ Disallow: /backup/ Disallow: /.git/ Disallow: /node_modules/ Disallow: /logs/ # 禁止访问特定文件类型 Disallow: *.log Disallow: *.tmp Disallow: *.bak Disallow: *.old # 允许访问重要的SEO文件 Allow: /sitemap.xml Allow: /robots.txt Allow: /manifest.json Allow: /favicon.ico # 针对特定搜索引擎的设置 # Google搜索引擎 User-agent: Googlebot Allow: / Crawl-delay: 1 # 百度搜索引擎 User-agent: Baiduspider Allow: / Crawl-delay: 2 # Bing搜索引擎 User-agent: Bingbot Allow: / Crawl-delay: 1 # 360搜索引擎 User-agent: 360Spider Allow: / Crawl-delay: 2 # 搜狗搜索引擎 User-agent: Sogou web spider Allow: / Crawl-delay: 2 # 神马搜索引擎 User-agent: YisouSpider Allow: / Crawl-delay: 2 # 禁止恶意爬虫 User-agent: SemrushBot Disallow: / User-agent: AhrefsBot Disallow: / User-agent: MJ12bot Disallow: / # Sitemap位置声明 Sitemap: https://lifejkgirl.xyz/sitemap.xml # 额外的Sitemap(如果有的话) # Sitemap: https://lifejkgirl.xyz/sitemap-images.xml # Sitemap: https://lifejkgirl.xyz/sitemap-news.xml # 主机设置(可选) # Host: https://lifejkgirl.xyz # 爬取延迟设置(全局默认) Crawl-delay: 1 # 访问时间限制(可选,格式:开始时间-结束时间,24小时制) # Visit-time: 0800-2000