Redirect non-Logged in Users
I am having issues with using bbpress. When I post something in the forum, a user who is subscribed to the forum, then receives an email with a link to the post I have just created. However, the user will click on the link and then recieve a 404 page not found message. This is because the forum is private and the user is not currently logged in.
I was wondering if anyone has a solution to ensure that if a user is not logged into the forum, that they would get the Log In page to access the forum rather than the 404 redirect.
I cannot put a direct redirect from the post to the login page, because then this would happen for all logged in users too.
Any help would be greatly appreciated – I am not a PHP expert either, so please explain things in simple terms if changes to the PHP are necessary.
- You must be logged in to reply to this topic.