 <p>In UrlManager, It will search from Top to Down. </p> <p>So upto my knowledge, you can not define two CONTROLLER/ACTION for same Url alias.</p> <p>But you can use controller forward in siteController. If your condition not satisfy then forward to mediaController.</p> <pre><code>$this-&gt;forward('media/index'); </code></pre> <p>Hope helps !!</p>