I want to redirect customer after new registration on referrer page like if the customer is view any specific product and then he clicks for registration then after registration we want to redirect on same page. Its working file for login and I want to do same thing on registration.

How we change the default redirect in case of new registration ?

  • going to old page if customer is visit from product? Or all the case.. when customer from my page before login? – Amit Bera Sep 2 '16 at 13:23
  • want to go previous page whatever it is after registration. – Ashish Jagnani Sep 2 '16 at 13:35

Magento2 already have setting by this you can redirect a customer to previous page after Registration

Just goto admin>Store>Configuration>Customer Configuration>Login Options.

And make Redirect Customer to Account Dashboard after Logging in select the value to No.Then flush the cache magento cache.

And see the magic

enter image description here

| improve this answer | |
  • Its for login and working fine. I want the same thing for new registration. – Ashish Jagnani Sep 2 '16 at 14:03
  • this should work – Amit Bera Sep 2 '16 at 14:40
  • It is working only in the case of sign in – SIBHI S May 14 '18 at 5:15
  • I want the same thing for new registration. – Pratik Mehta May 6 '19 at 11:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.