內容簡介
總結:
Valvai將您的WordPress轉變為人工智慧流量控制中心,提供擋掉或允許GPTBot、ClaudeBot、PerplexityBot等功能,以及開放式控制面板和自動更新robots.txt設置等功能。
- 活動對每隻機器人的JSON或HTML流跟金錢價格的選擇
- 在Permissions標籤裡,可以為偵測到的機器人切換允許/擋控,或手動編輯“Blocked”和“Allowed”清單
- 每一次設置更改都會自動更新robots.txt
- 在未來版本中將加入HTTP 402付費握手、收入控制面板和代幣市場
設定問題:
1. 如何打開Valvai的設定頁面?
2. 在Permissions標籤中,可以如何控制偵測到的機器人?
3. 當某個機器人被允許後,可以進行哪些設置?
4. 如何查看最近200條的日誌紀錄?
5. 當不允許某個機器人時,將會發生什麼事情?
6. robots.txt被自動修改的方式是怎樣的?
7. 在開啟插件後,如何進行測試並檢查效果?
8. 開發人員需要注意的PHP命名規則是什麼?
9. 有關robots.txt feed的查詢格式是如何設計的?
外掛標籤
開發者團隊
② 後台搜尋「Valvai – AI Traffic Control Center」→ 直接安裝(推薦)
原文外掛簡介
Valvai turns your WordPress into an AI traffic control center.
Block or allow GPTBot, ClaudeBot, PerplexityBot & co.
Live dashboard with filters (All / AI / Allowed / Blocked)
Per‑bot tabs to choose JSON vs HTML feed, content types, pricing
Active 403 hard‑block for disallowed tokens
robots.txt auto‑updates on every setting change
Roadmap: HTTP 402 paywall handshake, revenue dashboard, token marketplace.
Configuration
Visit Settings ▸ Valvai. You will see tabs: Dashboard, Permissions, and an AI‑specific tab for each allowed crawler.
Permissions tab:
Toggle Allow/Block for detected bots (e.g., GPTBot, ClaudeBot, PerplexityBot).
Or edit the manual lists “Blocked” and “Allowed” using comma‑separated names.
AI‑specific tabs (appear after a bot is allowed):
Data format: pick JSON or HTML.
Content sources: check which post types and taxonomies are exposed.
Pricing: choose currency and price per 1,000 words (FREE disables pricing).
Usage / How it works
Logging: Every request from a suspected crawler is logged to the wp_valvai_crawl_log table. View the last 200 entries on the Dashboard and filter by All / AI / Allowed / Blocked.
Blocking: Disallowed bots receive an HTTP 403 immediately.
robots.txt: Your robots.txt is automatically augmented. Disallowed tokens get Disallow: /. Allowed tokens get an Allow rule pointing to a feed endpoint.
Testing the plugin
After activation, open Settings ▸ Valvai ▸ Dashboard. It will show “No logs yet” on a fresh site.
In a new browser tab, visit any public URL on your site with a test crawler User‑Agent, for example:
Use curl -A "GPTBot" https://your-site.example/
Or in the browser with a UA switcher extension.
Refresh the Dashboard: you should now see an entry with token GPTBot.
Go to the Permissions tab and switch GPTBot to Allow or Block.
Visit /robots.txt to verify entries update accordingly.
If allowed, open the AI‑specific tab for that bot to set JSON/HTML and sources.
Notes for developers
All public PHP identifiers use the unique valvaitcc_ prefix to avoid conflicts.
Legacy options (valvai_*) are automatically migrated to valvaitcc_* on activation; legacy reads are still honored for backward compatibility.
robots.txt feed query uses ?valvaitcc=TOKEN&fmt=json|html.
