title: Redirect to specific pages depending upon the url routing using htaccess file
body: <p>I have the urls like</p>
  
  <pre><code>http://localhost/mis  
  http://localhost/mis/newsletter.php  
  http://localhost/mis/cms.php?mainid=65  
  http://localhost/mis/news.php?mainid=93
  </code></pre>
  
  <p>Well I am using these urls for <strong>school</strong> section.</p>
  
  <p>Now for the <strong>A-level</strong> section I have the following urls</p>
  
  <pre><code>http://localhost/mis/index.php?mode=0  
  http://localhost/mis/newsletter.php?mode=0  
  http://localhost/mis/cms.php?mainid=65&amp;mode=0  
  http://localhost/mis/news.php?mainid=93&amp;mode=0
  </code></pre>
  
  <p>I want the above urls to be routed like</p>
  
  <pre><code>http://localhost/mis/a-level  
  http://localhost/mis/a-level/newsletter.php  
  http://localhost/mis/a-level/cms.php?mainid=65  
  http://localhost/mis/a-level/news.php?mainid=93
  </code></pre>
  
  <p>Please help me out with these url routing via .htaccess file.</p>
  
  <p><strong>EDIT:</strong> The htaccess file is under mis folder</p>
  
  <p><strong>FILE STRUCTURE:</strong></p>
  
  <pre><code>root&gt;&gt;
      mis&gt;&gt;
          .htaccess
          newsletter.php
          cms.php
          news.php
  </code></pre>