Can anyone let me know why below code of refer URL redirects to homepage, instead of last page visited in controller ?

This happens only in live website, beta website works perfect:

$resultRedirect = $this->resultRedirect->create(ResultFactory::TYPE_REDIRECT);
return $resultRedirect;
  • 1
    Check your cookie setting at live system – Amit Bera Jul 9 '19 at 13:22
  • do you mean this setting? Redirect to CMS-page if Cookies are Disabled – bhargav shastri Jul 9 '19 at 13:26

Your Answer

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

Browse other questions tagged or ask your own question.