Title: Hotlink Protection
Author: zuda
Published: <strong>2009 年 6 月 8 日</strong>
Last modified: 2018 年 8 月 16 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/wordpress-automatic-image-hotlink-protection.
svg)

# Hotlink Protection

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

[下载](https://downloads.wordpress.org/plugin/wordpress-automatic-image-hotlink-protection.zip)

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

 [支持](https://wordpress.org/support/plugin/wordpress-automatic-image-hotlink-protection/)

## 描述

This plugin is adopted and being maintained. Caution: This plugin may not work on
all setups and is best to be considered beta. It has been updated to work on more
setups than it previously worked on.

The WordPress Automatic Image Hotlink Protection plugin is a single step script 
designed to stop others from stealing your images. Simply add an .htaccess file 
to your root folder thereby stopping external web servers from linking directly 
to your files.

The script automatically tests to to see if your web server is compatible with the
script before adding the .htaccess file and setting the appropriate permissions.
If deactivated, the script removes the code from your .htaccess file.

 * Please Note : This plugin works only with the primary domain, and the www. addition
   not subdomains, for example mycow.example.com would not work, but example.com
   should work.

## 安装

To install the plugin, please upload the wordpress hotlink protection folder to 
your plugins folder and active the plugin. Once you’ve activated the plugin, visit
the admin page at Settings > Hotlink Protection to activate the plugin.

## 常见问题

  Installation Instructions

To install the plugin, please upload the wordpress hotlink protection folder to 
your plugins folder and active the plugin. Once you’ve activated the plugin, visit
the admin page at Settings > Hotlink Protection to activate the plugin.

  How do I remove this plugin?

In most cases, the plugin should take care of itself when deactivating but if for
any reason your server has problems with the hotlink removal, open your .htaccess
file via an FTP client and remove the lines between # Hotlink Protection START #
and # Hotlink Protection END # to remove the plugin manually.

## 评价

![](https://secure.gravatar.com/avatar/ba695878e09db2ef3ca500ece1e26a906ac6f7c1b6de71bd643bae3b875c6057?
s=60&d=retro&r=g)

### 󠀁[Do not use!!!](https://wordpress.org/support/topic/do-not-use-38/)󠁿

 [YaronRaz](https://profiles.wordpress.org/yaronraz/) 2019 年 3 月 1 日

This might suspend all access to your site, and can only be corrected by editing
the .htaccess file directly, through FTP or other means. Be warned.

![](https://secure.gravatar.com/avatar/699607e497375029d6306daf0c49519465d100d7dec609aa82ad4a21b18ab034?
s=60&d=retro&r=g)

### 󠀁[very very bad](https://wordpress.org/support/topic/very-very-bad-6/)󠁿

 [christian-45](https://profiles.wordpress.org/christian-45/) 2019 年 2 月 6 日

after installing white screen and a lot of problems. worst plugin ever seen

![](https://secure.gravatar.com/avatar/3c0bb7bda28958c354ef904b32f5b56d14cf5c191431cfe59a581f2c953d0942?
s=60&d=retro&r=g)

### 󠀁[Broke my multi-install the second I enabled it](https://wordpress.org/support/topic/broke-my-multi-install-the-second-i-enabled-it/)󠁿

 [Dean](https://profiles.wordpress.org/deane1/) 2018 年 10 月 15 日

Was hoping to allow facebook and other social platforms to use my images with this
plugin but as I enabled the plugin on my site, it re-wrote my htaccess file crippling
my sites. I immediately got a 500 server error and it took my other site down as
well that’s on the same multi-site install even though I enabled the plugin on only
one of the two sites. Do yourself a favor before you try this on your install and
backup your htaccess file and be logged into your ftp so you can quickly swap back
to your backup htaccess file if this does not work on your install. The developer
definitely still needs to do some work on this.

 [ 阅读所有5条评价 ](https://wordpress.org/support/plugin/wordpress-automatic-image-hotlink-protection/reviews/)

## 贡献者及开发者

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

贡献者

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

「Hotlink Protection」插件已被翻译至 2 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/wordpress-automatic-image-hotlink-protection/contributors)
为本插件所做的贡献。

[帮助将「Hotlink Protection」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wordpress-automatic-image-hotlink-protection)

### 对开发感兴趣吗?

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

## 更新日志

#### 3.3.3

 * palindrome version numbers, because that’s cooler than bow ties.
 * updated the script from the previous owner to try and avoid sites getting the
   white screen of death.
 * is now being maintaned as it has been adopted by planetzuda.com.

#### 2.0.0

 * Removed admin control panel
 * Tested with WordPress 3.2
 * Optimized code for WordPress 3.2
 * Removed excess code

#### 1.1.0

 * Tested for WordPress 3.1
 * Added new admin screens

#### 1.0.0

 * rewrote plugin for use with 3.x websites
 * moved .htaccess file from uploads folder to root
 * added file_exists checks
 * tested for clean removal

#### 0.1.6

 * removed update function

## 额外信息

 *  版本 **3.3.3**
 *  最后更新：**8 年前**
 *  活跃安装数量 **300+**
 *  WordPress 版本 ** 4.0.0 或更高版本 **
 *  已测试的最高版本为 **4.9.29**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wordpress-automatic-image-hotlink-protection/)、
   [Spanish (Chile)](https://cl.wordpress.org/plugins/wordpress-automatic-image-hotlink-protection/)
   和 [Spanish (Spain)](https://es.wordpress.org/plugins/wordpress-automatic-image-hotlink-protection/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/wordpress-automatic-image-hotlink-protection)
 * 标签
 * [hotlink](https://cn.wordpress.org/plugins/tags/hotlink/)[hotlinking](https://cn.wordpress.org/plugins/tags/hotlinking/)
   [image protection](https://cn.wordpress.org/plugins/tags/image-protection/)[protect image](https://cn.wordpress.org/plugins/tags/protect-image/)
 *  [高级视图](https://cn.wordpress.org/plugins/wordpress-automatic-image-hotlink-protection/advanced/)

## 评级

 1 星（最高 5 星）。

 *  [  0 条 5 星评价     ](https://wordpress.org/support/plugin/wordpress-automatic-image-hotlink-protection/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/wordpress-automatic-image-hotlink-protection/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/wordpress-automatic-image-hotlink-protection/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/wordpress-automatic-image-hotlink-protection/reviews/?filter=2)
 *  [  5 条 1 星评价     ](https://wordpress.org/support/plugin/wordpress-automatic-image-hotlink-protection/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wordpress-automatic-image-hotlink-protection/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wordpress-automatic-image-hotlink-protection/reviews/)

## 贡献者

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

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/wordpress-automatic-image-hotlink-protection/)