title: htaccess without using all parameters
body: <p>I have a website with categories and I should pagination on those categories.</p>
  
  <p>the first page of the category is:</p>
  
  <pre><code>http://www.domain.com/cat/category-name/
  </code></pre>
  
  <p>the others pages (with the pagination) should be like this:</p>
  
  <pre><code>http://www.domain.com/cat/category-name/2/
  </code></pre>
  
  <p>-> the number (2 for example) is the page number.</p>
  
  <p>this is what I wrote on htaccess:</p>
  
  <pre><code>RewriteRule ^cat/(.*)/(.*)/$ cat.php?name=$1&amp;page=$2 [L]
  </code></pre>
  
  <p><strong>Thr problem</strong> is that if I write like this, I have to write a number.. and the main page of the category shouldn't be with number. what can I do?</p>
  
  <p>Thank you.</p>