Not Blocking Downloads
-
I have wordfence installed on a site and it is successfully blocking some IP addresses from accessing my site.
Unfortunately, I have a lot of bots repeatedly downloading large PDFs and using up my bandwidth. These bots are blocked from accessing pages on the site but are not blocked from accessing PDFs.
I understand that in a standard WordPress install, the .htaccess has the following lines:
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]
If I understand correctly, this tells the server that, if the file being requested doesn’t exist pass it to wordpress (and therefore wordfence). If it does exist, pass the file and send it to the browser.
Is it possible to pass files that are on the server through wordpress/wordfence so blocked IP addresses can’t get the file?
- The topic ‘Not Blocking Downloads’ is closed to new replies.