Skip Navigation

[Resolved] Redirect to previous page after log-In using Toolset Log In forms

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user wanted to redirect to the previous page after a successful login attempt.

Solution:

This is not something that is natively possible with Toolset and will need to be implemented with some amount of custom code.

Perhaps you can try the code in the link below.
https://www.isitwp.com/redirect-back-to-referring-page-after-login/

This support ticket is created 3 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by pramodk-2 3 years, 9 months ago.

Assisted by: Shane.

Author
Posts
#1930147

Hi Team,

Is there any code you would suggest to redirect back to the previous page after successful log-In using Tool set forms.

Currently it is redirected back to the home page which is causing a double work for the users.

Thanks.

#1930363

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Pramod,

Thank you for getting in touch.

Perhaps you can try the code in the link below and let me know if it helps.
hidden link

Given that there isn't a native way to do this with Toolset, any solution would need to be done using custom code.

Thanks,
Shane

#1935477

My issue is resolved now. Thank you!