Files restriction
-
Hello. Is it possible to create a HTACCESS file so I can make a folder and its contents password protected using the Ultimate Member plugin?
I was using the code below but its not working anymore.
RewriteEngine On RewriteCond %{HTTP_REFERER} !^https://(www.)?cortecmci.com/
RewriteCond %{REQUEST_URI} !hotlink.(doc|xls|xlsx|docx|mp4|mov|pdf)
RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in.*$
RewriteRule .*.(doc|xls|xlsx|docx|mp4|mov|pdf)$ https://www.cortecmci.com/The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Files restriction’ is closed to new replies.