thefrosty / wp-block-ai-scrapers

Crain核心WordPress插件和共享代码。

v1.0.2.1 2024-03-14 20:41 UTC

This package is auto-updated.

Last update: 2024-09-14 21:36:13 UTC


README

贡献者: austyfrosty
捐赠链接: PayPal
标签: ai-bots, robots-txt, nginx-conf, htaccess-rule
至少需要 6.2
测试到 6.5.0
稳定标签 1.0.1
许可: GPLv2或更高版本
许可URI: https://gnu.ac.cn/licenses/gpl-2.0.html

Block AI Scrapers

PHP from Packagist Latest Stable Version Total Downloads License Build Status codecov

简单地在WordPress的.htaccessnginxrobots.txt文件中阻止AI爬虫机器人。

包安装(通过Composer)

要安装此包,请编辑您的composer.json文件。

{
    "require": {
        "thefrosty/wp-block-ai-scrapers": "^1.0"
    }
}

然后运行

$ composer install thefrosty/wp-block-ai-scrapers

或者,运行

$ composer require thefrosty/wp-block-ai-scrapers:^1.0

灵感来源于https://github.com/jackmcconnell/no-ai-scrapers