-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite rule error #5
Comments
I think I'm having this same problem... I'll see if I can find a way to implement the change @geefo is suggesting. Could it be a recent change in BBPress that is causing the issue? And a question for you, @benjamin-backend -- I see this plugin is about a year old. Are you still supporting it / working on it? Also, have you considered asking the BBPress team to incorporate this into the BBPress plugin? |
Update: That fix seems to have solved the problem for me! Now I can continue to test my integration of BBPress and Memberpress, to see if Memberpress can successfully secure the topics in my forum, not just the forums themselves. |
Entered the bug fix proposed by @geefo in Issue BenjaminMedia#5 BenjaminMedia#5
Hello, if enable option Forum Prefix, topic page return 404 error. Problem in "function add_post_types_rewrite" bbp_get_topic_slug() return "forums/topic" but add_permastruct get_option( '_bbp_topic_slug', 'topic' ) return "topic":
rewrite rule - forums/forum(.+?)forums/topic/(.+?)/?$
permastruct - forums/forum/%forumnames%/topic/%forumnames%/
if change bbp_get_topic_slug() to get_option( '_bbp_topic_slug', 'topic' ) all works
The text was updated successfully, but these errors were encountered: