How To Redirect Customers to Previous Page After Login

By using PrestaShop, redirect after registration, login, and logout you can add desired pages for redirection after login. Install the module and go to its general settings, and enable the moduel. From the above menu bar, click on Login settings and Enable All Customer Groups Login Redirection. Now, from the URL Redirection drop-down, select Previous URL. Click on Save, and your customers will be redirected to the previous page they were viewing after login. For a detailed overview, follow these steps:

1. Install the module and go to its general settings. Enable its functionality, and from the main menu, click on Login Settings.

2. Here you can set redirection rules for customers after login. Either direct all customers to a selected page to create multiple groups. You can also add redirection based on user’s first login attempt, country, and device type.

3. Now enable All Customer Groups Login Redirection, and from URL Redirection option, choose previous URL.

4. Now, click on save, and your customers will be redirected to the previous page once they sign up for your store.