Why Do bbPress Pages Return 404 for bbp_blocked Users Instead of Access Denied?
-
Hi there,
I’m running a community with bbPress and Paid Memberships Pro. I’ve come across an issue I can’t fully explain or resolve:
Whenever a user with the bbp_blocked role tries to access bbPress content, they get a 404 page instead of a “you don’t have permission” message or a redirect as expected and set in PMPro.
These particular users are not suspended but free members without access to the bbPress sections of the site. I understand the bbp_blocked role is meant to restrict forum access, but why does it result in 404s rather than a proper restriction notice?
My specific questions:
1. Is it intentional that bbPress shows a 404 for bbp_blocked users?
2. If so indeed, can this behavior be changed to show an “access denied” message or redirect instead?
3. Is the bbp_blocked role actually meant only for moderation (bans), and not general access control?
Since I haven’t been able to find anything like my specific setup, any clarification or guidance is much appreciated before I start remapping roles or overriding behavior.
Thanks much in advance!
- You must be logged in to reply to this topic.