I have a controller that is executed in the system configuration. The desired result is that the code is executed and is redirected back to its original page. When the url keys are active, the page is always redirected back to the admin dashboard rather than the system configuration. When the keys are off, the redirect works as intended. How can I do a proper redirect with the keys on?

  public function execute()

You can use:


In this case:



  • Thanks for the insight! Unfortunately, there was no change. I tried both $this->_redirect('adminhtml/system_config/edit/section/settings/') and $this->_redirect('adminhtml/system_config/edit/section/currency/') with and without the '/' at the end, and I was still redirected back to the dashboard – StevanZakel May 23 '17 at 14:40

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.