Simple hotlink protection for individual files in the media library.
As of April 2026, Hotlink File Prevention is a WordPress admin plugin with 700 active installations and a 4.9/5 rating from 7 reviews. It has been downloaded 7.9K+ times in total. Requires WordPress 4.6+ and PHP 5.6+. Available on WordPress.org since 2014. Last updated 1 year ago — may have compatibility concerns. Top alternative: Loginizer.
Hotlink File Prevention (HFP) offers simple hotlink protection that can be turned on/off for individual files in the WordPress media library.
“Hotlinking” is when a file, such as an image or PDF, is linked to from another website or entered manually in a web browser’s location bar. HFP only allows your file to be viewed on your website.
Hotlink protection is provided via .htaccess rules in the wp-content/uploads directory.
Once the HFP plugin is activated, you will have two new features in the media library:
Any asset that is checked will have &#…
| WordPress | 4.6+ requiredTested up to 6.5.8 |
| PHP | 5.6+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.