Send the following on WhatsApp
Continue to ChatMagento: Redirect Customer to Previous Page After Login https://blog.chapagain.com.np/magento-redirect-customer-to-previous-page-after-login/
Magento: Redirect Customer to Previous Page After Login https://blog.chapagain.com.np/magento-redirect-customer-to-previous-page-after-login/