title: Shortening URL using .htaccess
body: <p><strong>My folder structure is:</strong></p>
  
  <p>modules</p>
  
  <ul>
  <li><p>admin</p>
  
  <ul>
  <li>index.php</li>
  </ul></li>
  <li><p>login</p>
  
  <ul>
  <li>login.php</li>
  <li>signup.php</li>
  </ul></li>
  <li><p>articles</p>
  
  <ul>
  <li>articles.php</li>
  </ul></li>
  </ul>
  
  <p><strong>My current URL is:</strong></p>
  
  <p>localhost/modules/admin/index.php</p>
  
  <p>localhost/modules/login/login.php</p>
  
  <p>localhost/modules/articles/articles.php</p>
  
  <p><strong>I want to change it to:</strong></p>
  
  <p>localhost/index</p>
  
  <p>localhost/login</p>
  
  <p>localhost/articles</p>
  
  <p>Since i a beginner in using .htaccess file, pls help me how i can change the URL using .htaccess file</p>