# robots.txt สำหรับป้องกันสแปมและป้องกันพื้นที่สำคัญ # บล็อก bot ที่เป็นสแปมหรือที่คุณไม่ต้องการให้เข้าถึง (เพิ่มชื่อ bot ที่ทราบว่าเป็นปัญหาได้) User-agent: BadBot1 Disallow: / User-agent: BadBot2 Disallow: / # กำหนดให้ bot ทั่วไปปฏิบัติตามคำสั่งด้านล่าง User-agent: * Crawl-delay: 10 Disallow: /admin/ Disallow: /private/ Disallow: /tmp/ Disallow: /test/ # ระบุที่ตั้ง sitemap เพื่อช่วยให้ bot รวบรวมข้อมูลเว็บไซต์ได้ดียิ่งขึ้น Sitemap: https://taradmai.com/sitemap.xml