Skip to:
Content
Pages
Categories
Search
Top
Bottom

Bad login redirect URL

  • Avatar of papaenapuros
    papaenapuros
    Member

    @papaenapuros

    Hello,

    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:

    `http://www.mydomain.com/buddypress/wp-login.php?redirect_to=/buddypress/?redirect_to=http://www.mydomain.com/buddypress/users/name/messages`

    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.

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.