title: How to set url for particular controller action - Magento
body: <p>If I have module mymodule in which I have index Controller. In which I have subaction as 'subaction'</p>
  
  <p>Normally I access page as </p>
  
  <pre><code>   http://www.mywebsite/index.php/mymodule/index/subaction
  </code></pre>
  
  <p>How can I set url from code such as</p>
  
  <pre><code>   http://www.mywebsite/index.php/subaction
     or
     http://www.mywebsite/index.php/mymodule/subaction
  </code></pre>
  
  <p>Note ::  I do not want to create new controller I want this in the same index controller.</p>