title: Forwarding directories with htaccess
body: <p>I've looked through many questions on here but haven't found one that quite answers my question (could be wrong, feel free to suggest an answer I missed)<br>
  How would you write the .htaccess file to send all requests from the folder<br>
  <code>example.com/subpage/img</code> to <code>example.com/img</code> and <code>example.com/subpage/js</code> to <code>example.com/js</code><br>
  Where subpage can be any text string<br>
  This is the file so far<br></p>
  
  <pre><code>Options +FollowSymlinks
  RewriteEngine on
  RewriteCond %{SCRIPT_FILENAME} !-d
  RewriteCond %{SCRIPT_FILENAME} !-f
  RewriteRule (^[A-Za-z]+[\/]?) index.php?page=$1 [L]
  </code></pre>
  
  <p>Secondly, how could you add a second parameter to the last rule? like <code>index.php?page=$1subpage=$2</code><br>
  Please let me know if this needs to be more specific</p>