Skip to:
Content
Pages
Categories
Search
Top
Bottom

Redirecting private/hidden forums URLs to wp-login.php


  • Gawain Lynch
    Participant

    @gawain

    I’m having a problem where a number of our users are sending around URLs to discussions in private forums to other users, when those URLs are clicked, if the user is not logged in they get a 404.

    I want to write a plugin that directs users to the login page if they are not already, and only then return a 404 if they don’t have ‘read_private_forums’…

    Can anyone familiar with the bbPress code base point me to where bbPress evaluates this access?

You must be logged in to reply to this topic.