Hi i try to redirect in magento from back end module. i use the following query.


It was working but my module page will not work without category id in GET parameter with in the url.

So i use the following code


but now this time directly going to the home page. please any one have any solution for it?

$this->_redirect('*/*/', array('_query', array('category_id',$category_id));

Should do the job, see also: https://stackoverflow.com/a/4540289/622945 and your duplicated question on Stack Overflow: https://stackoverflow.com/q/33435543/622945

  • That was working fine.. i take the code from the link you provide... thank you brother :)
    – Arul James
    Oct 30 '15 at 12:26

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.