title: how to add pagination in htaccess
body: <p>hello i am looking to add pagination with htaccess i have htaccess file which rewrite my php urls from <strong>mysite.com/category.php?uid=123-slug-name</strong> to <strong>mysite.com/category/123-slug-name</strong> but i want to add pagination like this</p>
  
  <pre><code>&gt; mysite.com/category/123-slub-name/page/1 
  &gt; mysite.com/category/123-slub-name/page/2
  &gt; mysite.com/category/123-slub-name/page/last etc
  </code></pre>
  
  <p>but i dont know exactly how to do this here is my htaccess file code</p>
  
  <pre><code>RewriteEngine On
  RewriteRule ^category/([a-zA-Z0-9-/]+)$ category.php?id=$1
  RewriteRule ^category/([a-zA-Z0-9-/]+)/$ category.php?id=$1
  RewriteRule ^([a-zA-Z0-9-/]+)$ article.php?url=$1
  RewriteRule ^([a-zA-Z0-9-/]+)/$ article.php?url=$1
  </code></pre>