Support » Plugin: User Registration & User Profile - Profile Builder » How to redirect after registration or login?

  • Resolved Clare12345

    (@clare12345)


    Hi,

    We have a classifieds site, and we need visitors to be able to register or log into the website and then go to the place where they will create a classifieds ad. How do I set up the plugin to redirect them to the correct page? Thank you ahead of time!!!!

    Thank you,

    Clare

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Clare,

    Thank you for reaching out to us.

    You will need to use the redirect_url parameter inside the [wppb-login] and [wppb-register] shortcode like so:

    Login
    [wppb-login redirect_url="http://www.yourdomain.com/page"]

    Register
    [wppb-register redirect_url="http://www.yourdomain.com/page"]

    Test it out and let me know if it works.

    Best regards,

    It is working! Thank you!

    What about if user can get directed to login page from different pages? (so they must be directed back to the page where they were before). I think it can be done with some session or something… Can you upload code for that?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to redirect after registration or login?’ is closed to new replies.