Locking access for non-logged in users
-
Hi!
Thank you for your great plugin.I need to lock access files for non-logged in users
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} ^.*(pdf|doc|docx)$
RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in.*$ [NC]
RewriteRule . – [R=403,L]But it’s not working with the viewer.
Any idea?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Locking access for non-logged in users’ is closed to new replies.