How can I get URL of locked page when not logged in?

When I try to go to myweweb.com/securedpage, I’m redirected to myweweb.com/login.
After I log in I’d like to automatically be redirected myweweb.com/securedpage.
How can I do this?

Hi @peteletkemansst, on the login workflow you can add a new action change page to securedpage

I’m sorry, let me try to explain this a different way.
I have the following pages setup with private access only:

I want to be able to go to mysite.com/teacher/tonysmith when not logged into the site I get redirected to mysite.com/login. After logging I want to be redirected to mysite.com/teacher/tonysmith.

I want to be able to go to mysite.com/message/view/987 when not logged into the site I get redirected to mysite.com/login. After logging I want to be redirected to mysite.com/message/view/987.

However, when I simply go to mysite.com/login then log into the site I want to be redirected to mysite.com/secureHomePage.

How can I accomplish this?

Thanks for the detail. I never did it, but I think you can create a variable in local storage. You register the previous / old page in this variable. And after login make a redirection to the page store in this variable

Don’t hesitate to tell me if it’s working or not