Title: Simple AI Blocker
Author: maxhaesslein
Published: <strong>2024 年 10 月 8 日</strong>
Last modified: 2024 年 10 月 8 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/simple-ai-blocker.svg)

# Simple AI Blocker

 作者：[maxhaesslein](https://profiles.wordpress.org/maxhaesslein/)

[下载](https://downloads.wordpress.org/plugin/simple-ai-blocker.0.2.2.zip)

 * [详情](https://cn.wordpress.org/plugins/simple-ai-blocker/#description)
 * [评价](https://cn.wordpress.org/plugins/simple-ai-blocker/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/simple-ai-blocker/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/simple-ai-blocker/#developers)

 [支持](https://wordpress.org/support/plugin/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.

## 屏幕截图

[⌊The Settings Page⌉⌊The Settings Page⌉[

The Settings Page

## 安装

 1. Activate the plugin through the ‘Plugins’ menu in WordPress
 2. Once installed, go to the plugins setting page, activate the ‘blocking active’ 
    option and save the options
 3. The ‘blocking active’ options gets automatically disabled when you deactivate the
    plugin, however, by default, all other options will persist
 4. If you want to delete all data the plugin saves in your database, activate the ‘
    delete all plugin data on uninstall’ option before uninstalling

## 评价

此插件暂无评价。

## 贡献者及开发者

「Simple AI Blocker」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ maxhaesslein ](https://profiles.wordpress.org/maxhaesslein/)

[帮助将「Simple AI Blocker」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/simple-ai-blocker)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/simple-ai-blocker/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/simple-ai-blocker/)，或通过[RSS](https://plugins.trac.wordpress.org/log/simple-ai-blocker/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/simple-ai-blocker/)。

## 更新日志

#### 0.2.2

 * moved admin JavaScript to own file
 * code enhancements and fixes

#### 0.2.1

 * tested up to WordPress v.6.6

#### 0.2.0

 * first stable release
 * prepared plugin for release in WP Plugin Directory
 * code enhancements and fixes

#### 0.1.2

 * added translation options, so the plugin should now be translateable
 * added additional user agents to block
 * updated texts on options page
 * code cleanup and enhancements

#### 0.1.1

 * blocking now defaults to ‘inactive’
 * after plugin activation, a admin notice with a link to the settings page is shown
 * option to delete all plugin data on deactivation
 * bug fixes and enhancements

#### 0.1.0

First pre-release. This plugin is in development; there may still be bugs. Use for
testing only, not in production yet.

 * completely block AI crawlers via their IP addresses or User-Agents
 * use JSON endpoints to automatically get currently used IP ranges
 * preconfigured to block ChatGPT and Perplexity AI, and a handfull of other AI 
   Crawlers
 * use ‘Settings – AI Blocker Settings’ to configure this plugin
 * blocking happens as early as possible, to use almost no ressources if an AI crawler
   is detected
 * this plugin may not yet be compatible with caching plugins

## 额外信息

 *  版本 **0.2.2**
 *  最后更新：**2 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.2 或更高版本 **
 *  已测试的最高版本为 **6.6.5**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/simple-ai-blocker/)
 * 标签
 * [AI](https://cn.wordpress.org/plugins/tags/ai/)[ai-crawler](https://cn.wordpress.org/plugins/tags/ai-crawler/)
   [blocking](https://cn.wordpress.org/plugins/tags/blocking/)
 *  [高级视图](https://cn.wordpress.org/plugins/simple-ai-blocker/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/simple-ai-blocker/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/simple-ai-blocker/reviews/)

## 贡献者

 *   [ maxhaesslein ](https://profiles.wordpress.org/maxhaesslein/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/simple-ai-blocker/)