Send customers back to previous page after login

Created by Ezra Weinstein, Modified on Mon, 12 Sep 2022 at 04:35 PM by Hannah Harris

The coreFORCE login page is normally called login, but it may be different for your site. Check Website > Pages to make sure.


To send the user back to the previous page after logging in, add "?referrer=true" to the href in the link to your login page in your site template. For example:


<a  href="/login?referrer=true">Log In </a>


It is also possible to have the user login via a popup window instead of navigating to a new page. To do this, simply add class='login-popup-link' to the <a> tag for the login page.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article