[WordPress] 外掛分享: Simple AI Blocker

首頁外掛目錄 › Simple AI Blocker
全新外掛
安裝啟用
尚無評分
527 天前
最後更新
問題解決
WordPress 5.2+ PHP 8.0+ v0.2.2 上架:2024-10-07

內容簡介

總結:這個 WordPress 外掛可以直接封鎖 AI 爬蟲的 IP 地址或用戶代理,封鎖是直接在伺服器上進行的,而非透過 robots.txt 檔案,因此可以阻擋那些不尊重 robots.txt 檔案的爬蟲。

1. 這個外掛是如何封鎖 AI 爬蟲的?
- 這個外掛可以直接封鎖 AI 爬蟲的 IP 地址或用戶代理,封鎖是在伺服器上直接執行的。
- 並非透過 robots.txt 檔案,因此也可以阻擋那些不尊重 robots.txt 檔案的爬蟲。

2. 如果使用了前置於 'plugins_loaded' 鈎點前的快取外掛,這個外掛可能無法正常運作嗎?
- 是的,如果使用了前置於 'plugins_loaded' 鈎點前的快取外掛,這個外掛可能無法正常運作,但未來可能會添加相容性。

3. 安裝後該如何啟用封鎖功能?
- 安裝後需要在外掛設置頁面上啟用封鎖功能。預設設置應該足夠,但您也可以添加額外的 IP 地址、用戶代理,甚至具有 IP 範圍列表的 JSON 端點。

4. 如果網站位於反向代理後,並且 REMOTE_ADDR 不可用,該如何自定義訪客 IP 地址服務器變數?
- 如果網站位於反向代理後,並且 REMOTE_ADDR 不可用,您可以自定義訪客 IP 地址服務器變數。

5. 如果要清除外掛在數據庫中保存的所有數據,應該如何操作?
- 在卸載前啟用 '卸載時刪除所有外掛數據' 選項,才能清除外掛在數據庫中保存的所有數據。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.2.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Simple AI Blocker」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Block AI Crawlers directly via their IP addresses or user-agents. The blocking happens directly on the server, and not via robots.txt, so it should also block crawlers that do not respect the robots.txt.
This plugin may not work if you use a caching plugin that hooks before the ‘plugins_loaded’ hook. I may add compatibility in a future update.
After installation you need to activate blocking on the plugin settings page. The default settings should suffice, but you can add additional IP addresses, user agents or even JSON endpoints with lists of ip ranges.
The visitor ip address server variable can also be customized, if your site is behind a reverse proxy and REMOTE_ADDR is not available.
If you want to delete all data the plugin saves in your database, activate the ‘delete all plugin data on uninstall’ option before uninstalling.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon