New answers tagged

0 votes
Accepted

Disabling direct access to images using .htaccess

I have added the following rewrite rule to my .htaccess (above the previous rewrite rule): RewriteRule ^wp-content/uploads/(.*)$ dl-file.php?file=$1 [QSA,L] You presumably have another .htaccess ...
user avatar
  • 3,566

Top 50 recent answers are included