Skip to:
Content
Pages
Categories
Search
Top
Bottom

Login redirect except for friend requests

  • Avatar of Mahmoudibrahim
    Mahmoudibrahim
    Participant

    @mahmoudibrahim

    hello
    im using the latest versions of wordpress and buddypress on my site, and ive got the Buddypress Login Redirect plugin active. and because of this when a user receives a friend request in their email, and they click the link that says “view your friends requests” and then log in, they get redirected to their profile page, not the “friend requests” page. If you turn the plugin off, then the friend request link works, but on normal login the user is presented with a page with links to Dashboard, Profile (which is the wordpress profile not buddypress )

    any idea how i can have it so when a user logs in normally it redirects to profile page, but when a user logs in via the friend request link, it takes them to the “Friend Request” page ??

    thanks in advance, sorry for the wall of text.

You must be logged in to reply to this topic.