Support » Plugin: User Access Manager » Plugin stopped working altogether

  • Hi,

    On this website: https://www.zijnskring.nl the plugin was always working perfectly. What still is working is that the second menu is hidden for not logged in users. But all protected pages were visible to everybody. I now installed the “Members”-plugin which picks up the settings of UAM (roles that have access are automatically ticked by “Members”, so the content of the pages is hidden again.
    So how can it be that the plugin is no longer protecting the content???

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter erwinodendaal

    (@erwinodendaal)

    Hi,

    This morning I somehow managed to get the plugin working again on https://www.zijnskring.nl.

    And I installed it on another website where I have to hide pages and files. The pages are hidden for non logged in visitors on: https://www.stichtingzijnsorientatie.nl/
    But when accessing a (protected) file it just shows. Try:
    https://www.stichtingzijnsorientatie.nl/wpstichting/wp-content/uploads/Cirkel-58.pdf

    In the .htaccess file in /wp-content/uploads/ I see this code:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wpstichting/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_URI} !.*\/sites\/[0-9]+\/.*
    RewriteRule ^([^?]*)$ /wpstichting/index.php?uamfiletype=attachment&uamgetfile=$1 [QSA,L]
    RewriteRule ^(.*)\?(((?!uamfiletype).)*)$ /wpstichting/index.php?uamfiletype=attachment&uamgetfile=$1&$2 [QSA,L]
    RewriteRule ^(.*)\?(.*)$ /wpstichting/index.php?uamgetfile=$1&$2 [QSA,L]
    </IfModule>

    Which should be protecting the pdf’s. What can be the problem?

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.