Skip to:
Content
Pages
Categories
Search
Top
Bottom

How can I redirect to a different page?

  • Avatar of gregfielding
    gregfielding
    Participant

    @gregfielding

    @techguy

    Cool plugin and it works great. How can I redirect a user to a different page after login?

    I’m going to try to put the registration form below forum threads, inviting visitors to login to post. Your plugin saves the mess of dealing with emails and avatars. Any thoughts on how to redirect a user back to the page they are on? In this case, back the to the forum thread, but this time as a logged-in member?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of techguy
    techguy
    Participant

    @crashutah

    @gregfielding
    Glad you like it. There’s a filter on the redirect url: bp_diable_activation_redirect_url You should be able to hook into it and have it redirect. Not sure about the specific case you mention though. There might be a timing issue. Try it out and let me know.

    Avatar of Virtuali
    Virtuali
    Participant

    @gunju2221

    The way to make a custom redirect is from the:

    `$redirect_url_cc = `

    Put your desired domain after the “=” , but make sure you put it inside ” so you don’t get a parse error.

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

You must be logged in to reply to this topic.