Bad login redirect URL
I have a buddypress install in a subfolder in a domain (ie, http://www.mydomain.com/buddypress). That is, http://www.mydomain.com has a WordPress install, and “/buddypress” is another different install. Both them are single Wordpres installs (not multiuser).
When you send a private message, you receive an email width the text “To view and read your messages please log in and visit: http://www.mydomain.com/buddypres/users/name/messages/” which is a correct URL.
If you click in the link (when logged out), you are redirected to a bad URL. This is:
As you can see, there are 2 “redirect_to” parameters. The text “redirect_to=/buddypress/” is not needed, and it’s causing the problem. If I delete it, it works fine and when you’re logged you are redirected to the messages page.
Any idea how to fix it? Thanks in advance.
- The topic ‘Bad login redirect URL’ is closed to new replies.