chevalier90
Gefreiter
- Tham gia
- 03/06/2016
- Bài viết
- 74
- Được Like
- 36
Cảm ơn nhiều.
User-agent: *
Disallow: /test/
Disallow: /account/
Disallow: /admin.php
Disallow: /attachments/
Disallow: /conversations/
Disallow: /events/birthdays/
Disallow: /events/monthly
Disallow: /events/weekly
Disallow: /find-new/
Disallow: /goto/
Disallow: /help/
Disallow: /login/
Disallow: /lost-password/
Disallow: /members/
Disallow: /misc/style?*
Disallow: /misc/quick-navigation-menu?*
Disallow: /online/
Disallow: /posts/
Disallow: /recent-activity/
Disallow: /register/
Disallow: /search/
Allow: /
nếu em muốn cho google index vào những phần như: bài viết, tags, thành viên ... thì tạo file thế nào ạ ? em đang dùng xenforo 2 ạphải biết mục đích tạo robots.txt là gì thì mới biết thêm nội dung gì cho nó chứ
mặc định tạo file robots.txt để chặn google hoặc cung cụ tìm kiếm khác index 1 số trang mình muốn. còn k tạo file thì google sẽ index tất cảnếu em muốn cho google index vào những phần như: bài viết, tags, thành viên ... thì tạo file thế nào ạ ? em đang dùng xenforo 2 ạ
à vậy thì ko tạo nó sẽ index tất cả ạ. Tại sợ xenforo nó chặn 1 số cáimặc định tạo file robots.txt để chặn google hoặc cung cụ tìm kiếm khác index 1 số trang mình muốn. còn k tạo file thì google sẽ index tất cả
disallow như bác thì hỏng hếtTạo file text mới, đặt tên là robots.txt. Sau đó cop đoạn code sau bỏ vào
Up lên host ở root ngang hàng index ( tức là sẽ có dạng link là domain.com/robost.txt)Mã:User-agent: * Disallow: /test/ Disallow: /account/ Disallow: /admin.php Disallow: /attachments/ Disallow: /conversations/ Disallow: /events/birthdays/ Disallow: /events/monthly Disallow: /events/weekly Disallow: /find-new/ Disallow: /goto/ Disallow: /help/ Disallow: /login/ Disallow: /lost-password/ Disallow: /members/ Disallow: /misc/style?* Disallow: /misc/quick-navigation-menu?* Disallow: /online/ Disallow: /posts/ Disallow: /recent-activity/ Disallow: /register/ Disallow: /search/ Allow: /
CHịu khó search trước rồi hỏi
Support | Quảng cáo |
Mr. San (PVS) | Mr. Tuấn (Blue) |
Mr. Tuấn Mobile/Zalo: 0988 488 096 Telegram: bluekpro Email: [email protected] |