title: Apache Rewrite URL in .htaccess File: Remove Subdirectory
body: <p>How do you remove a folder from the URL using a rewrite rule from the .htaccess file?</p>
  
  <p>Instead of:</p>
  
  <pre><code>http://www.example.com/city/houston/
  </code></pre>
  
  <p>Or:</p>
  
  <pre><code>http://www.example.com/city/chicago/
  </code></pre>
  
  <p>The URL would display as:</p>
  
  <pre><code>http://www.example.com/houston/
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>http://www.example.com/chicago/
  </code></pre>
  
  <p>Thanks for any help!</p>