Hello everyone,
I installed the Patreon plugin on Wordpress.
The import works very well, the only problem is that the content of the image, not the text, is visible to everyone despite the lock.
I read that it could be because of the cache, but I don’t use any plugin for the cache, here are my plugins used:
Akismet
Buttonizer
CodeBard’s Patron Button and Widget for Patreon
Elementor
Essential Addons for Elementor
Fixed Widget
myStickymenu
Patreon Wordpress
Sticky Menu (or Anything!) on Scroll
WP blog post layout.
Can you help me? My level is not very good and I can’t find the problem by myself.
I tried to save the permalink a lot’s of time, remove and install the plugin but nothing works
This is my settings :
Thank you very much.
If you want the contents of the image to be locked and be only for patrons, then you need to enable image locking feature. But beware - this requires a compatible host that allows modification of .htaccess files and it also requires a good, performant host. You may experience issues if your hosting package is not up to par.
1 Like
Hello, thanks for your answer.
I think the locking feature is enabled.
And this is my Htaccess :
BEGIN LSCACHE
END LSCACHE
BEGIN NON_LSCACHE
END NON_LSCACHE
BEGIN WordPress
The directives (lines) between “BEGIN WordPress” and “END WordPress” are
dynamically generated, and should only be modified via WordPress filters.
Any changes to the directives between these markers will be overwritten.
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
END WordPress
BEGIN Patreon WordPress Image Protection
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} (.png|.jpg|.gif|.jpeg|.bmp)
RewriteCond %{HTTP_REFERER} !^wp-admin [NC]
RewriteRule ^wp-content/uploads/(.*)$ index.php?patreon_action=serve_patron_only_image&patron_only_image=$1 [QSA,L]
END Patreon WordPress
So it’s probably a problem with my Host ? (Hostinger)
Ok, the code is there alright. Now you can contact your web host with this information and ask them whether this code is active at your site.