title: Displaying subdirectory name in the url in Yii2 for static pages
body: <p>Iam creating  static pages for a client using Yii2. I am using yii2 because the client has some other requirements to scale up the web later. I use Yii2 Basic app. The yii2 basic has default pages like about, contact etc.
  The url for those pages after enabling pretty url is</p>
  
  <pre><code> www.example.com/about
  </code></pre>
  
  <p>etc</p>
  
  <p>Now i need to create pages </p>
  
  <blockquote>
    <p>"xyz.php"</p>
  </blockquote>
  
  <p>under a sub directory like </p>
  
  <blockquote>
    <p>"abc"</p>
  </blockquote>
  
  <p>. So i need my url to be <code>www.example.com/abc/xyz</code></p>
  
  <p>How do i achieve this? to be informed iam a learner, I followed url rules, helpers but did not find a strong solution.</p>