Reply To: [Resolved] BuddyPress incorrectly redirects to BBPress forum within group
Ok, we’re closer, looks like the correct bbPress forum ID is correctly associated with the BuddyPress Group 🙂
It looks like the slug/permalink is broken 🙁
Before looking at a fix, a clarification if I could
Here is my bbPress Forums Hierarchy Structure Layout
BuddyPress Forums Category (Top Level Category)
— BuddyPress Public Group Forum (Forum)
— BuddyPress Hidden Group Forum (Forum)
— BuddyPress Private Group Forum (Forum)
In bbPress Settings (Settings -> bbPress) (/wp-admin/options-general.php?page=bbpress)
“BuddyPress Integration” -> “Group Forums Parent” is set as “BuddyPress Forums Category”
My bbPress settings for forum slugs are:
– Forum Root Slug ->forums
– Forum Prefix -> Check/Tick
– Single Forum Slugs -> Forum ->forum
So my URL’s are build with the “forum root slug” then the “forum single slug” then “BuddyPress Forums Category” and lastly the actual forum “BuddyPress Public Group Forum” which results in:
/forums/forum/buddypress-forums-category/buddypress-public-group-forum/
Now onto your URL’s:
Yours with bbPress forum ID 127650
/forums/forum/forums-2/f1/correct-group-name/
Yours with bbPress forum ID 127628
/forums/forum/forums-2/name-of-another-group/
These infer the following:
forums-2
— f1
— — correct-group-name
— name of another group
With your settings:
“BuddyPress Integration” -> “Group Forums Parent” is set as “forums-2”
– Forum Root Slug ->forums
– Forum Prefix -> Check/Tick
– Single Forum Slugs -> Forum ->forum
As long as the quote/code formatting displays as expected is this what your bbPress forums layout hierarchy looks like?
EDIT: Tweaked the formatting above and just trying to digest where the forums-2 comes from and why it is there, the f1 no doubt is part of the incorrect forum slug that we can get to with the fix, I’ve got to go dig through some source code of bbPress & BuddyPress to workout where things are broken and how to fix it.