Skip to:
Content
Pages
Categories
Search
Top
Bottom

Ultimate Member/bbPress – 404 redirect


  • davout
    Participant

    @davout

    I am using bbPress with Ultimate Member. The latter controls authentication and content access.

    With my bbPress installation all the forums are set as ‘private’. I have a problem when trying to access a forum post via its URL, e.g. : https://www.cambrian-mountains.co.uk/?post_type=topic&p=9620

    If the user is not already authenticated on the site, then when they select this post URL they get a ‘404’ error.

    For all my other semi-static site content (pahes/posts) I am using the Ultimate Member ‘content restriction’ feature to redirect the user to the login page. However, those redirection instruction has to be setup manually for each page.

    The problem with bbPress topics is that the content is created dynamically, where there is no opportunity to assign a Ultimate Member content restriction to redirect an unauthenticated user to the login page.

    What I really need is a way to automatically assign the content restrictions to a forum post as and when it is created.

    Any suggestions?

Viewing 4 replies - 1 through 4 (of 4 total)

  • chromeless
    Blocked

    @chromeless

    Ultimate member should have a “blanket” redirection option where you redirect for any page that doesn’t have individual rules!


    Robin W
    Moderator

    @robin-w

    If you update to 5.9.1, then in

    Dashboard>settings>forums under the moderation section you can set up so that the link goes via a login if they are not logged in. If ultimate member allows login redirect, then this should work via a login page. If not you can either use wp-login (since these are moderators they should be fine seeing this) or set up a bbpress login page.


    davout
    Participant

    @davout

    That seems to have solved the problem – many thanks!


    Robin W
    Moderator

    @robin-w

    🙂

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