[wordpress插件] Defender后卫

wordpress 插件 文章 2020-04-14 17:30 462 0 全屏看文

AI助手支持GPT4.0

评分
20
描述

Defender by Played lets you block visitors based on their country of origin.

Defender by Played可让您根据访问者的来源国家来阻止访问者。

The plugin contacts the free service at freegeoip.net and sends the visitors IP adress to that service to geolocate that IP adress so that the visitors country can be pinpointed and compared to a list of blacklisted countries.

该插件通过freegeoip.net与免费服务联系,并将访问者的IP地址发送给该服务,以对该IP地址进行地理定位,以便可以确定访问者所在的国家/地区并将其与列入黑名单的国家/地区进行比较。

Visitors entering your site from a blacklisted country can then be redirected to either the WordPress 404 page, a custom page that you set up yourself, or it can simply just return a 403 Forbidden header.

然后,从黑名单国家/地区进入您网站的访问者可以重定向到WordPress 404页面,您自己设置的自定义页面,也可以仅返回403 Forbidden标头。

安装步骤

    1. Unpack the .zip file and upload the defender folder to the /wp-content/plugins/ directory
    2. 解压缩.zip文件,然后将 defender 文件夹上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Under Plugins in the admin menu click the Defender tab.
    6. 在管理菜单的插件下,单击 Defender 标签。

    7. Select countries to blacklist and a redirect option.
    8. 选择要列入黑名单的国家/地区和重定向选项。

    9. Be careful with the block login page option, as blocking the login page from users coming from certain countries could lock you out if your own country is blacklisted.
    10. 请谨慎使用阻止登录页面选项,因为如果您自己的国家/地区被列入黑名单,则阻止来自某些国家/地区的用户阻止登录页面。

下载地址
https://downloads.wordpress.org/plugin/defender-by-played.1.0.zip
-EOF-

AI助手支持GPT4.0