• Resolved boabo

    (@boabo)


    Hello,

    Template > Login form > Behavior
    ——————————
    How to redirect to same page after a user submitted login credentials?

    Currently, you can only redirect user to a specific URL, not to the same page user logged in such as a blog page.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Jair – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @boabo,

    I hope you are doing well!

    You can use # for the URL. I prepared an example form for you to import and test which could be found on https://pastebin.com/U6JkT2pW

    You can find more info on how to export the form here : https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export

    Kind regards,
    Zafer

    Thread Starter boabo

    (@boabo)

    Thank you. I see. I did /# instead of # but after uploading your widget code, message from Behavior/Additional Settings displays on my login page without going back to the blog page where logged in -> “You are already logged in” (although i logged out)

    I also tested ajax instead of page load > not working.

    ————————-

    For your info, i’m using wpdiscuz and did the following:

    1. create new wp page example login-formi
    2. create new user login form (forminator)
    3. add forminator shortcode to page (step 1)
    4. add https://domain.com/login-formi redirect URL to wpdiscuz > Settings > User Authorization and Profile Data > Login URL

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @boabo,

    I’m not able to replicate any such issue. In general, such behaviours are noticed due to cache or if you haven’t actually logged out.

    Is there a page URL you could share where you are noticing the mentioned message so that we could have a better idea?

    Looking forward to your response.

    Kind Regards,
    Nithin

    Thread Starter boabo

    (@boabo)

    Hello, thanks for your time but I’m currently testing locally.

    I however solved the issue by using a popup plugin (which let users stay on the same blog page after login to wpdiscuz) instead of using forminator login form.

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @boabo

    I hope you are doing well.

    Thank you for the update, I am marking this as resolved but if you need any further help feel free let us know.

    BEst Regards
    Patrick Freitas

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Submission Behavior > Redirect Same Page’ is closed to new replies.