차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판이전 판다음 판 | 이전 판 | ||
tech:robots.txt [2013/05/08 11:43] – V_L | tech:robots.txt [2019/04/14 18:53] (현재) – V_L | ||
---|---|---|---|
줄 1: | 줄 1: | ||
+ | {{tag> | ||
+ | ======Robots.txt====== | ||
+ | 웹폴더의 최상위 폴더에 두어야한다. | ||
+ | |||
+ | robot.txt 가 아니고 robot// | ||
+ | |||
+ | |||
+ | 모든 봇 차단 | ||
+ | |||
+ | <file txt robots.txt > | ||
+ | User-agent: * | ||
+ | Disallow: / | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | 네이버, 구글, 야후 허용하고 다른 것들은 다 차단 | ||
+ | |||
+ | <file txt robots.txt > | ||
+ | # robots.txt generated by smallseotools.com | ||
+ | User-agent: Googlebot | ||
+ | Disallow: | ||
+ | |||
+ | User-agent: googlebot-image | ||
+ | Disallow: | ||
+ | |||
+ | User-agent: googlebot-mobile | ||
+ | Disallow: | ||
+ | |||
+ | User-agent: Slurp | ||
+ | Disallow: | ||
+ | |||
+ | User-agent: naverbot | ||
+ | Disallow: | ||
+ | |||
+ | User-agent: yeti | ||
+ | Disallow: | ||
+ | |||
+ | User-agent: * | ||
+ | Disallow: / | ||
+ | |||
+ | Crawl-delay: | ||
+ | |||
+ | Disallow: /cgi-bin/ | ||
+ | </ | ||
+ | |||
+ | =====제작기===== | ||
+ | |||
+ | https:// | ||
+ |