title: htaccess issue rewriting page with parameters
body: <p>I have two URLS, one with categories and one with a product ID</p>
  
  <p>Categories URL</p>
  
  <p><code>accessories/category-one/cat-two/cat-three/cat-four</code></p>
  
  <p>Product URL</p>
  
  <p><code>accessories/1234/product-name-here</code></p>
  
  <p>When I try and go on the product url, it goes to the categories. </p>
  
  <pre><code>#Accessories page
  RewriteRule ^accessories/?([a-z-]+)?/?([a-z-]+)?/?([a-z-]+)?/?([a-z-]+)?/? accessories.php?cat1=$1&amp;cat2=$2&amp;cat3=$3&amp;cat4=$4 [L,QSA]
  RewriteRule ^accessories/([0-9]+)/[a-z-]+/?$ accessories.product.php?productId=$1 [L,QSA]
  </code></pre>
  
  <p><strong>Edit:</strong>
  I switched the rewrite rules around, printed out the GET variables and I get this now</p>
  
  <pre><code>Array
  (
      [cat1] =&gt; 
      [cat2] =&gt; 
      [cat3] =&gt; 
      [cat4] =&gt; 
      [productId] =&gt; 24015
  )
  </code></pre>
  
  <p>Staying on the categories page </p>