Skip to:

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

  • Gawain Lynch


    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?

Viewing 1 replies (of 1 total)

  • gptxffa


    I think I have basically the same question. When new topic emails are sent out to users who are not logged in and the click that link in the email the received the message in the picture. I would like them to get sent to the login page instead, and then once logged in sent to the original URL requested.

    not found

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