I need to find which controller is in charge of a URL

I am working on a website, and I want to know which controller is controlling this URL. How can I do this? The core/Mage/Sales/controllers/OrderController is not controlling it.

1 Answer 1



action method is

public function historyAction()
    { }

First you have to find the frontName that are define in etc/config.xml for example your example app/code/core/Mage/Sales/etc/config.xml.So url is work like baseurl/frontName/controllername/Actionmethod


sometime controller are overrides see these example

  • Thanks, I found another controller that is also controlling this same URL though. My question is how can I found ALL controllers that can handle this URL. Apparently Mage/Sales/controllers/OrderController.php controller is not in charge of this URL any more. Commented Nov 23, 2016 at 12:06
  • @VladimirDespotovic i added explanation hope that will helpful for you Commented Nov 23, 2016 at 12:12
  • 1
    Ok, looks like the controller is infcat one that you mentioned. Probably something else was overiden, layout or template. Commented Nov 23, 2016 at 12:32

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.