chevalier90
Gefreiter
Cảm ơn nhiều.
Bài viết liên quan
Bài viết mới
Lỗi khi gửi email
bởi redbull,
Gefreiter
Corporal
MasterSergeantUser-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: /
MasterCorporal
Corporalnế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ứ
MasterCorporalmặ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 ạ
Corporalà 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
| XenForo 1 | XenForo 2 |
| Translate by PVS | |
| Xenforo là gì? | |
| Xây dựng MXH bằng Xenforo | |