4 years, 8 months ago
You are my hero @r-a-y
Thanks for this, it worked! Just tested clicking the “Go to the discussion” link in the email when not logged in and it successfully redirected me to the login page instead of 404 page.
There’s a plugin called “BP Better Messages”
Applied the patch, but it does not solve the problem.
URL in the email says:
If you are logged in an you click on this link, it works fine and takes you straight to the conversation, but if you are not logged in an click it, it just takes you to the 404 page instead.
Tried using your code, but unfortunately it didn’t work for me. Site runs on BuddyPress Version 3.1.0
Does anyone have a fix for this?
I’m facing the same issue. It was working fine with earlier versions of BuddyPress, but now when you click “Go to the discussion” link in the email, it redirects to the 404 page.
BuddyPress Version 3.1.0 (latest version)
Can this be resolved within BuddyPress by adding a hook in functions.php or buddypress-functions.php file? Don’t really want to install a redirect plugin, as we still need a 404 page to show.
See also: WordPress.org •
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service