• we got user group only read access to a page on our blog.
    page accessible to admins and the correct group.
    within that page we got links to pdfs that should also be protected.
    no public access: ok.

    but: after upgrade to the latest uam, logged as the user group that should be able to read those, error message: “you don’t have the rights to view this content”. german:”Entschuldigung, aber du hast nicht die Rechte um diesen Inhalt zu sehen!”

    any idea why?

    excerpt from htaccess

    # upload-folder show pdfs only when user logged in
    RewriteCond %{REQUEST_URI} ^.*xxxxx/.*
    RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in.*$ [NC]
    RewriteRule . /wp-login.php?redirect_to=%{REQUEST_URI} [R,L]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author GM_Alex

    (@gm_alex)

    I changed the Rewirte Base and added a leading slash. Could you play a little with the RewirteBase and give me some feedback if that solves it. Thank you.

    Thread Starter ffwebdesigner

    (@ffwebdesigner)

    hi alex,

    after some research i found out that files are only protected by UAM on restricted pages when UPLOADED to the same page/post, not just when inserted into the page. worth a plugin fix, or intended that way?

    cheers
    frank

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘attached files inaccessible from protected pages’ is closed to new replies.