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

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.

评价

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.
2019 年 2 月 6 日
after installing white screen and a lot of problems. worst plugin ever seen
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条评价

贡献者及开发者

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

贡献者

「Hotlink Protection」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Hotlink Protection”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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