BT San Technology

2 June 2026

robots.txt, noindex and sitemaps: getting the live site found and keeping the wrong pages out of search

2 min read · Websites and web apps

Illustration: a laptop listing web pages with globe icons and a few marked as blocked, beside blue folders and a magnifying glass
AI-generated illustration

This guide is available in Thai only.

การเข้าถึงของ crawler ต่างจากการอยู่ในดัชนี sitemap เป็นข้อมูลช่วยค้นพบ ไม่ใช่คำสั่งให้ต้องจัดทำดัชนี หน้าทดสอบ หน้าบัญชี และหน้าสาธารณะมีเป้าหมายต่างกัน

ขั้นตอนนำไปใช้

  1. ทำรายการหน้าที่ต้องการให้ค้นพบ
  2. ตรวจ response และคำสั่งเกี่ยวกับการจัดทำดัชนี
  3. ตรวจการเข้าถึงและความสอดคล้องกับ sitemap
  4. ติดตามผลด้วยเครื่องมือผู้ดูแลเว็บและป้องกันความผิดพลาดตอนปล่อยรุ่น

ตัวอย่างผลส่งมอบ

ผลส่งมอบ: ตารางนโยบายค้นพบของหน้าสาธารณะ หน้าทดสอบ และหน้าลูกค้า

ประโยชน์

ช่วยกำหนดการค้นพบให้สอดคล้องหน้าที่ของหน้า

ข้อจำกัดและข้อควรระวัง

robots.txt และ noindex ไม่ใช่มาตรการคุมสิทธิ์ข้อมูลลับ และ crawler ต้องเข้าถึงคำสั่ง noindex ได้จึงจะอ่านได้

แหล่งอ้างอิงเริ่มต้น

  • Google Search Central — noindex
  • Google Search Central — Introduction to robots.txt
  • Google Search Central — Learn about sitemaps

References

  1. Google Search Central — noindex (accessed 2026-11-21)
  2. Google Search Central — Introduction to robots.txt (accessed 2026-11-21)
  3. Google Search Central — Learn about sitemaps (accessed 2026-11-21)

Add us on LINE

Scan with the LINE app on your phone

QR code to add LINE @Bankoos

LINE ID: @Bankoos

Open LINE on this computer