[wordpress插件] Configurable Hotlink Protection可配置的热链接保护

wordpress 插件 文章 2020-03-30 08:50 513 0 全屏看文

AI助手支持GPT4.0

评分
20
描述

Save bandwidth by easily blocking links to video, audio, and other files from unapproved 3rd-party sites.

通过轻松阻止来自未经批准的第三方网站的视频,音频和其他文件的链接来节省带宽。

Features

功能

    • Choose from a list of common file extensions and include your own
    • 从常用文件扩展名列表中选择并包括您自己的

    • Allow linking from multiple authorized websites
    • 允许从多个授权网站链接

    • Selectively control direct linking
    • 选择性地控制直接链接

    • Generate the rules for your .htaccess file with minimal effort
    • 轻松生成 .htaccess 文件的规则

    This plugin modifies the site's .htaccess file and requires mod_rewrite or compatible modules like ISAPI_rewrite for IIS.

    此插件会修改站点的.htaccess文件,并需要mod_rewrite或兼容的模块,例如用于IIS的ISAPI_rewrite

    Notes

    注释

    This plugin was inspired by the Hotlink Protection plugin.

    此插件的灵感来自热链接保护插件。

    There was a need for a more flexible implementation and so this plugin was created.

    需要更灵活的实现,因此创建了此插件。

安装步骤

For most, the built-in plugin installation system for WordPress will be all you need.

对于大多数人来说,WordPress的内置插件安装系统将是您所需要的。

Alternately, uploading the zip file to the installer should also work.

或者,也可以将zip文件上传到安装程序。

For those who prefer manual installation:

对于那些喜欢手动安装的人:

    1. Unzip configurable-hotlink-protection.zip and upload the contents into the /wp-content/plugins directory
    2. 解压缩 configurable-hotlink-protection.zip 并将其内容上传到 / wp-content / plugins 目录

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

    5. Configure options under Settings -> Hotlink Protection
    6. 设置->链接保护 下配置选项

下载地址
https://downloads.wordpress.org/plugin/configurable-hotlink-protection.0.2.zip
-EOF-

AI助手支持GPT4.0