Robots.txt
限制爬虫访问那些重复的筛选路径,但不要把 robots.txt 当成后台区域的权限控制。
User-agent: * Allow: / Disallow: /admin/ Disallow: /private/ Sitemap: /sitemap.xml
robots-txt · 图文示意