title: Getting multiple variables with Mod Rewrite
body: <p>This my .htaccess file:</p>
  
  <pre><code>Options +FollowSymLinks 
  RewriteEngine On 
  RewriteBase /
  
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^products/([^/\.]+)/?$ /product.php?$1
  RewriteRule ^category/([^/\.]+)/?$ /category.php?cat=$1&amp;page=$2 [QSA,L]
  </code></pre>
  
  <p>the link i put into the browser is site.com/category/batteries/1/ where batteries is category and 1 would be the page.  However, my site only gets the category (so site.com/category/batteries/ works, but site.com/category/batteries/1/ returns a 404.)</p>
  
  <p>category.php gets the value being passed in cat, but not the value in page.  I keep reading on this, but just can't understand where I'm going wrong.</p>