- Plesk for Linux
WordPress Toolkit Hotlinking Protection is enabled on the WordPress instance. Going to Domains > example.com > WordPress instance > Check Security > Hotlink protection is enabled.
A caching mechanism is enabled. I.E.: native WordPress plugins, memcached, Google PageSpeed Insights, etc.
An image is uploaded into
However, accessing directly the image from
httpdocs/wp-content/uploadsfolder shows the Hotlinking Protection image instead of the original file:
Disabling WordPress Toolkit Hotlink protection doesn't help because the wrong image was already cached.
After removing the cached image or disabling caching mechanism the original image is shown.
Cached files are loaded instead of the original files.
This is WordPress Toolkit extension bug #EXTWPTOOLK-2675 which will be fixed in future updates.
As a workaround, disable Hotlinking Protection:
Go to Domains > example.com > WordPress Instance > Check Security > Disable Hotlink protection
Disable/uninstall any caching mechanism enabled and present for the WordPress website (I.E.: WordPress plugins, memcached, Google PageSpeed Insights, etc).
Note: in some cases disabling all WordPress plugins and then re-activating both plugins and Hotlink protection fixes the issue.