Redirect users who aren’t logged in
I’ve looked everywhere but a lot of the information I’m finding on Google is out of date. I have the latest WP, Buddypress and bbpress.
When users who aren’t logged in try to access private content, they get sent to a very generic “Page not found”. I’d like users to be redirected to login or to display the bbp-login shortcode on this generic “Page not found”, and after they have logged in, it would be great if they could be redirected to the page they were trying to access.
I have looked high and low and can’t figure out where in “the loop” all of this is occurring. How much is bbPress, how much is Buddypress, how much is my custom theme & how much is just vanilla WordPress. Would love any advice or pointers that could help me untangle this knot.
- The topic ‘Redirect users who aren’t logged in’ is closed to new replies.