Apache Config [Solved]
-
Here’s an equivalent rule for Apache to add to your existing rules:
RewriteRule ^wp-content/uploads/(private)/(.*)$ /?pucd-folder=$1&pucd-file=$2 [L]
Or you can copy/paste this entire block into your .htaccess file. Add before the ‘# BEGIN WordPress’ block:
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / # Block unauthenticated user access to the /private/ uploads folder RewriteRule ^wp-content/uploads/(private)/(.*)$ /?pucd-folder=$1&pucd-file=$2 [L] </IfModule>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Apache Config [Solved]’ is closed to new replies.