新增robots.txt完成

一般站務公告事項
回覆文章
頭像
admin
系統管理員
文章: 23
註冊時間: 2008年 11月 26日, 00:17

新增robots.txt完成

文章 admin »

為能讓搜尋引擎更佳對於本站的內容快取, 進行 robots.txt 上線.

內容參考了其他網站及 phpbb.com 官方網站, 使用如下內容:

代碼: 選擇全部

User-agent: *
Disallow: /admin/
Disallow: /db/
Disallow: /images/
Disallow: /includes/
Disallow: /language/
Disallow: /templates/
Disallow: /common.php
Disallow: /config.php
Disallow: /faq.php
Disallow: /groupcp.php
Disallow: /login.php
Disallow: /memberlist.php
Disallow: /modcp.php
Disallow: /posting.php
Disallow: /privmsg.php
Disallow: /profile.php
Disallow: /search.php
Disallow: /viewonline.php
Disallow: /styles/forum/

User-agent: msnbot
Crawl-delay: 600

或直接訪問 http://bbs.diary.tw/robots.txt 就可以看到囉!
深藍色論壇-管理員
歡迎大家來發言!!
回覆文章