title: .htaccess Rewrite for clean URLs w/ 2 get variables
body: <p>My current .htacess looks like this:</p>
  
  <pre><code>RewriteEngine On
  RewriteRule ^([a-zA-Z0-9-z\-]+)$ index.php?page=$1
  RewriteRule ^([a-zA-Z0-9-z\-]+)/$ index.php?page=$1
  </code></pre>
  
  <p>which allows me to take a a link such as </p>
  
  <pre><code>http://www/myserver.com/somepage 
  </code></pre>
  
  <p>and rewrite it into</p>
  
  <pre><code>http://www.myserver.com/?page=somepage.
  </code></pre>
  
  <p>but how would i make it go deeper? I want to be able to do:</p>
  
  <pre><code>http://www.myserver.com/somepage/subpage
  </code></pre>
  
  <p>and turn it into</p>
  
  <pre><code>http://www.myserver.com/?page=somepage&amp;subpage=subpage
  </code></pre>
  
  <p>Thanks</p>