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, 2016 at 13:23
  • want to go previous page whatever it is after registration. Sep 2, 2016 at 13:35

1 Answer 1


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

  • Its for login and working fine. I want the same thing for new registration. Sep 2, 2016 at 14:03
  • this should work
    – Amit Bera
    Sep 2, 2016 at 14:40
  • It is working only in the case of sign in
    – SIBHI S
    May 14, 2018 at 5:15
  • I want the same thing for new registration. May 6, 2019 at 11:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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