• I have a plugin that created a subfolder in the uploads folder. It stores .csv files. The problem is that UAM has placed in a HTACCESS file in the uploads folder that prevents any files not uploaded by the media uploader from being read. This is the current htaccess file code:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteRule (.*) /index.php?uamfiletype=attachment&uamgetfile=$1 [L]
    </IfModule>

    When I turn off the Rewrite, the files in the subfolder can be read. However, I am wondering if by turning off rewrite rules, will this stop UAM from protecting my files? Is there a way to get UAM to allow me to access the subfolder files as well without turning off these rewrite rules?

    Oddly enough, in my local copy of the site, the uploads folder never had this htaccess file. So I’m not sure why the live server one has it, but the local one does not. I have not set UAM to lock my files either, so not sure where this htaccess file came from, or why it’s there.

    Thanks for anybody’s help!

    https://wordpress.org/plugins/user-access-manager/

  • The topic ‘Uploads Subfolder blocked by UAM’ is closed to new replies.