- This topic has 1 reply, 2 voices, and was last updated 4 years, 11 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Select Page
Home › Forums › Community Support Forum › Protecting Uploads
Hi – I have set up the Orbisius WP Media Protector on a clients website using these instructions: https://orbisius.com/products/wordpress-plugins/orbisius-wp-media-protector
and I’ve added the following code to the FTP:
# Protect all files within the uploads folder
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^(.*?/?)wp-content/uploads/.* [NC]
RewriteCond %{REQUEST_URI} !orbisius_media_protector [NC]
RewriteRule . %1/?orbisius_media_protector=%{REQUEST_URI} [L,QSA]
</IfModule>
BUT – when activated the website doesn’t show any images whatsoever on the website until you login…
Can anyone help?
Thanks,
Volta.
Yes, that’s the idea. all files to be protected and not some. images could have sensitive info too.
How to Restrict Access to WordPress Uploads Folder to Logged-in Users only