這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.
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