ยินดีต้อนรับคุณ, บุคคลทั่วไป กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น

ThaiSEOBoard.comความรู้ทั่วไปSearch Engine Optimizationจะไม่ให้ google ทำการ index หน้านั้น ต้องพิมอะไรใน robot.txt ครับ
หน้า: [1]   ลงล่าง
พิมพ์
ผู้เขียน หัวข้อ: จะไม่ให้ google ทำการ index หน้านั้น ต้องพิมอะไรใน robot.txt ครับ  (อ่าน 1309 ครั้ง)
0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้
goldrich
คนรักเสียว
*

พลังน้ำใจ: 14
ออฟไลน์ ออฟไลน์

กระทู้: 162



ดูรายละเอียด
« เมื่อ: 19 มกราคม 2008, 17:19:26 »

มีบางส่วนในเวบ ที่ไม่อยากให้ search engine ทำการ index ที่หน้านั้นอะครับ

จะต้องพิมอะไรเพิ่มลงไปใน robot.txt บ้างครับ

ขอบคุณมากครับ
บันทึกการเข้า

18+
XSONIC Harddisk dock สำหรับคนมีฮาร์ดดิสหลายลูก

ถ้าความเห็นของผมมีประโยชน์ ขอ +1 Thank ครับ
korpai
ก๊วนเสียว
*

พลังน้ำใจ: 5
ออฟไลน์ ออฟไลน์

กระทู้: 306



ดูรายละเอียด
« ตอบ #1 เมื่อ: 19 มกราคม 2008, 20:29:09 »

พี่กูเค้าบอกว่า

Blocking Googlebot
Google uses several user-agents. You can block access to any of them by including the bot name on the User-Agent line of an entry. Blocking Googlebot blocks all bots that begin with "Googlebot".

Googlebot: crawl pages from our web index and our news index
Googlebot-Mobile: crawls pages for our mobile index
Googlebot-Image: crawls pages for our image index
Mediapartners-Google: crawls pages to determine AdSense content. We only use this bot to crawl your site if you show AdSense ads on your site.
Adsbot-Google: crawls pages to measure AdWords landing page quality. We only use this bot if you use Google AdWords to advertise your site. Find out more about this bot and how to block it from portions of your site.
For instance, to block Googlebot entirely, you can use the following syntax:

User-agent: Googlebot
Disallow: /
Allowing Googlebot
If you want to block access to all bots other than the Googlebot, you can use the following syntax:

User-agent: *
Disallow: /

User-agent: Googlebot
Disallow:
Googlebot follows the line directed at it, rather than the line directed at everyone.

บันทึกการเข้า
goldrich
คนรักเสียว
*

พลังน้ำใจ: 14
ออฟไลน์ ออฟไลน์

กระทู้: 162



ดูรายละเอียด
« ตอบ #2 เมื่อ: 19 มกราคม 2008, 20:44:11 »

^
^

หมายความว่า สมมติในเวบผมมีโฟลเดอร์

./Test
./File
./Picture

ผมต้องการไม่ให้ Bot มาเจอโฟลเดอร์ Test ในไฟล์ผมก็ใส่เป็น

Disallow : /Test
แบบนี้เหรอครับ
บันทึกการเข้า

18+
XSONIC Harddisk dock สำหรับคนมีฮาร์ดดิสหลายลูก

ถ้าความเห็นของผมมีประโยชน์ ขอ +1 Thank ครับ
korpai
ก๊วนเสียว
*

พลังน้ำใจ: 5
ออฟไลน์ ออฟไลน์

กระทู้: 306



ดูรายละเอียด
« ตอบ #3 เมื่อ: 19 มกราคม 2008, 20:50:39 »

Copy ไปแล้วใช้ได้เลยครับ

User-agent: Googlebot
Disallow: /test/


บันทึกการเข้า
goldrich
คนรักเสียว
*

พลังน้ำใจ: 14
ออฟไลน์ ออฟไลน์

กระทู้: 162



ดูรายละเอียด
« ตอบ #4 เมื่อ: 19 มกราคม 2008, 21:51:25 »

ขอบคุณครับ
บันทึกการเข้า

18+
XSONIC Harddisk dock สำหรับคนมีฮาร์ดดิสหลายลูก

ถ้าความเห็นของผมมีประโยชน์ ขอ +1 Thank ครับ
tana
Newbie
*

พลังน้ำใจ: 15
ออฟไลน์ ออฟไลน์

กระทู้: 98



ดูรายละเอียด
« ตอบ #5 เมื่อ: 20 มกราคม 2008, 01:18:17 »


 Huh? Huh? Huh?

จะลองคลำๆดูเหมือนกัน
บันทึกการเข้า
payu
หัวหน้าแก๊งเสียว
*

พลังน้ำใจ: 125
ออฟไลน์ ออฟไลน์

กระทู้: 1,887



ดูรายละเอียด
« ตอบ #6 เมื่อ: 20 มกราคม 2008, 08:45:06 »


ศึกษาจากกระทู้นี้ครับ ...
http://www.thaiseoboard.com/in...ic,3791.msg44289.html#msg44289

หลายๆอย่างมีในบอร์ดนี้เกือบหมดแล้วครับ .. ถ้าสนใจลอง "ค้นหา" ด้านบนดูนะครับ

บันทึกการเข้า

หน้า: [1]   ขึ้นบน
พิมพ์