Title: bbpress redirect option?
Last modified: April 9, 2019

---

# bbpress redirect option?

 *  [et3rnal](https://wordpress.org/support/users/et3rnal/)
 * (@et3rnal)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/bbpress-redirect-option/)
 * As the documentation suggests, there should be an option to redirect to login
   page if wp-members used with bbPress but I can’t see such a thing?
 * Blocking isn’t working in with anything under /forums
    I have activated wp-members
   for Custom Post Types, set Forum to block Show Login Form: Forum
 * Membership isn’t helping or working as well? how can debug? I tried another theme
   without luck. I can use the shortcodes but then any search or direct link will
   open the forums without any restriction!

Viewing 1 replies (of 1 total)

 *  Plugin Author [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * (@cbutlerjr)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/bbpress-redirect-option/#post-11410184)
 * The important thing to note about Custom Post Types is the that the plugin will
   handle the CPT in the same way that it handles a regular post – basically, whatever
   is contained in the main $content variable.
 * bbPress (and anything that adds content outside the main $content variable) will
   require different handling.
 * In bbPress, you do have the option of making forums “private.” That will restrict
   them to logged in users, so you can just do that. You can also use [bbPress conditional tags](https://codex.bbpress.org/bbpress-conditional-tags/)
   along with the [wpmem_redirect_to_login() function](https://rocketgeek.com/plugins/wp-members/docs/api-functions/wpmem_redirect_to_login/)
   to set up a redirect to your login page if the user is not logged in.
 * The [premium Advanced Options extension](https://rocketgeek.com/plugins/wp-members-advanced-options/)
   is a possibility as well, as that contains [some settings for bbPress](https://rocketgeek.com/plugins/wp-members-advanced-options/docs/bbpress/)
   to send the user to the login page.

Viewing 1 replies (of 1 total)

The topic ‘bbpress redirect option?’ is closed to new replies.

 * ![](https://ps.w.org/wp-members/assets/icon-256x256.png?rev=1226414)
 * [WP-Members Membership Plugin](https://wordpress.org/plugins/wp-members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-members/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-members/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Chad Butler](https://wordpress.org/support/users/cbutlerjr/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/bbpress-redirect-option/#post-11410184)
 * Status: not resolved