• Resolved nickhenley

    (@nickhenley)


    Hi Mansur,

    You kindly gave me a script to load to take a login user back to the page before instead of to a homepage or designated url.

    Unfortunately, although this works, when a user clicks on a link in a newsletter link to a page and is not logged in (public view available) this means they have to click to open login and then are returned to the login page. This is not great for UX from such newsletter links.

    Is there a way to amend that script so that they go to the page before the last page when that is login?

    Thanks for any helps.

    Nick – Cohabitas.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mansurahamed

    (@mansurahamed)

    Hi @nickhenley,

    Sorry, can’t remember the code provided. Could you please share. You can just change the link url in your newsletter. For example

    https://yoursite.com/login/?redirect_to=htt://yoursite.com/some-page

    adding the redirect_to like above will automatically redirect user to that page after login.

    Thanks.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @nickhenley,

    …Please feel free to re-open this thread if any other questions come up and we’d be happy to help….. ??

    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Login redirect to page before login page’ is closed to new replies.