# ============================================ # robots.txt - 影视站群百度 SEO 优化版 # 网站:http://sdlzyh.com # 最后更新:2026-04-26 # ============================================ # 允许所有搜索引擎抓取 User-agent: * # 允许抓取首页 Allow: / # 允许抓取分类页 Allow: /movie.html Allow: /drama.html Allow: /variety.html Allow: /anime.html # 允许抓取播放页 Allow: /play-*.html # 允许抓取网站地图 Allow: /sitemap.xml # 禁止抓取后台管理目录 Disallow: /admin_*.php Disallow: /admin/ Disallow: /inc/ Disallow: /video/ # 禁止抓取测试和调试文件 Disallow: /test_*.php Disallow: /debug_*.php Disallow: /*test*.php Disallow: /*debug*.php # 禁止抓取配置文件 Disallow: /inc/config.php Disallow: /inc/db.php Disallow: /inc/*.php # 禁止抓取 SQL 文件 Disallow: /*.sql # 禁止抓取日志文件 Disallow: /logs/ Disallow: /*.log # 禁止抓取临时文件 Disallow: /*.bak Disallow: /*.tmp Disallow: /*.swp # 禁止抓取带参数的 URL(避免重复内容) Disallow: /*?* Disallow: /*&* # 允许抓取带伪静态参数的 URL Allow: /movie-*.html Allow: /drama-*.html Allow: /variety-*.html Allow: /anime-*.html Allow: /search-*.html # 网站地图位置 Sitemap: http://feibiao-china.com/sitemap.xml # ============================================ # 百度专用优化 # ============================================ # 百度爬虫 User-agent: Baiduspider Allow: / Allow: /movie.html Allow: /drama.html Allow: /variety.html Allow: /anime.html Allow: /play-*.html Allow: /sitemap.xml Disallow: /admin_*.php Disallow: /inc/ Disallow: /*?* # 百度图片爬虫 User-agent: Baiduspider-image Allow: /*.jpg Allow: /*.jpeg Allow: /*.png Allow: /*.gif Disallow: /admin/ Disallow: /inc/ # ============================================ # Google 优化 # ============================================ # Google 爬虫 User-agent: Googlebot Allow: / Allow: /movie.html Allow: /drama.html Allow: /variety.html Allow: /anime.html Allow: /play-*.html Allow: /sitemap.xml Disallow: /admin_*.php Disallow: /inc/ Disallow: /*?* # ============================================ # 必应优化 # ============================================ # 必应爬虫 User-agent: bingbot Allow: / Allow: /movie.html Allow: /drama.html Allow: /variety.html Allow: /anime.html Allow: /play-*.html Allow: /sitemap.xml Disallow: /admin_*.php Disallow: /inc/ Disallow: /*?* # ============================================ # 360 搜索优化 # ============================================ # 360 爬虫 User-agent: 360Spider Allow: / Allow: /movie.html Allow: /drama.html Allow: /variety.html Allow: /anime.html Allow: /play-*.html Allow: /sitemap.xml Disallow: /admin_*.php Disallow: /inc/ Disallow: /*?* # ============================================ # 搜狗搜索优化 # ============================================ # 搜狗爬虫 User-agent: Sogou web spider Allow: / Allow: /movie.html Allow: /drama.html Allow: /variety.html Allow: /anime.html Allow: /play-*.html Allow: /sitemap.xml Disallow: /admin_*.php Disallow: /inc/ Disallow: /*?* # ============================================ # 神马搜索优化 # ============================================ # 神马爬虫 User-agent: Yisouspider Allow: / Allow: /movie.html Allow: /drama.html Allow: /variety.html Allow: /anime.html Allow: /play-*.html Allow: /sitemap.xml Disallow: /admin_*.php Disallow: /inc/ Disallow: /*?* # ============================================ # 注意事项 # ============================================ # # 1. 本 robots.txt 已针对百度 SEO 优化 # 2. 允许抓取所有静态化 URL(.html 结尾) # 3. 禁止抓取带参数的动态 URL,避免重复内容 # 4. 网站地图位置已在最后声明 # 5. 针对主流搜索引擎都做了优化 # # 验证工具: # - 百度站长平台:https://ziyuan.baidu.com/ # - Google Search Console: https://search.google.com/ # ============================================