[MEMBERSHIP] conflict with Ultimate Member plugin

I use Ultimate Member plugin on my site and Membership Pro only for media protection.
Ultimate Member plugin create folder here:
wp-content/uploads/ultimatemember
but media protection add on add this to /uploads/ htaccess file

Options -Indexes
Deny from all
<FilesMatch '\.(jpg|jpeg|png|gif|mp3|ogg)$'>
Order Allow,Deny
Allow from all
</FilesMatch>

which makes issue on user profile page. Users are not able to upload or change images.
Any fix could be apply fot this?

Thank you

  • Konstantinos Xenos
    • Rubber Duck Debugger

    Hi Edoardo ,

    Since Membership adds it's .htaccess on the /uploads/ folder that means that all the directories that are "under" uploads automatically act with the same rules.

    One way to re-gain access into the /uploads/ultimatemember/ directory would be to add another .htaccess file in there ( /uploads/ultimatemember/.htaccess ) that contains

    <FilesMatch '\.(jpg|jpeg|png|gif|mp3|ogg)$'>
    Order Allow,Deny
    Allow from all
    </FilesMatch>

    Make sure to have the same <FilesMatch> rule so the rules apply to the same files as well.

    Tell me if this helps!

    Regards,
    Konstantinos

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.