多國語言翻譯:

展開 | 闔起

阻擋惡意爬行網站機器人蜘蛛的blackhole程式(Xoops可用)。
Protect Your Site with a Blackhole for Bad Bots

blackhole程式使用誘餌方式來判斷連線的是USER還是洗流量的爬行蜘蛛機器人,如果是蜘蛛則會加入黑名單中,無法再進入網站減少流量的消耗,當然也有白名單,像Google及yahoo等搜尋蜘蛛將會過濾而不會被封鎖ip,只會針對機器人蜘蛛有效。


白名單的的搜尋蜘蛛
googlebot (Google)
msnbot (MSN/Bing)
yandex (Yandex)
teoma (Ask)
slurp (Yahoo)

bingbot(msn/yahoo)

 

使用方法:

1、下載附件中block.zip,解壓縮後上傳到Xoops網站的根目錄中。

2、於Xoops網站theme.html樣板最頂端<head>下方新增此段code

<{include_php file="$xoops_rootpath/block/blackhole.php"}>

3、於頁腳樣板footera.html增加以下的誘餌連結
<a style="display:none;" href="<{xoAppUrl /}>block/" rel="nofollow">Do NOT follow this link or you will be banned from the site!</a>

完成後,如果蜘蛛去爬到這個display:none的按鈕,就會被寫入黑名單中,無法在進入網站中作怪。

感謝  馬克錸網站設計公司 堤供此項資訊
參考資料來源
http://perishablepress.com/blackhole-bad-bots/
http://perishablepress.com/2014-micro-blacklist/

  • 1) block.rar

neilthemesSimple網站設計開發:Neil網站設計工坊,徐嘉裕Neilhsu
Website CMS by:XOOPS 網站設計:Neil網站設計工坊
營業人名稱:尼爾網站設計工坊 統一編號:37586308
服務專線:0931229118網路電話:07010003568
Do NOT follow this link or you will be banned from the site!