Rewrite &sub=value to /value .htaccess
<p>I'm working with a pagination system on a school project website, but the problem is we only learn PHP, HTML5, CSS3 and graphical design stuff, no .htaccess coding.</p>

<p>My pagination system is based on the $_GET function. Index.php?pagina=value gets overwritten by .htaccess to /value. But I want to add an extra &amp;get layer to my pages.</p>

<p>How do I do this with .htaccess so I can get /value/value (index.php?value&amp;sub=value)?</p>

<p>Below you can find my current .htaccess code:</p>

<pre><code>RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^/]*)/?$ index.php?pagina=$1 [L,NC] 
</code></pre>

<p>Thanks in advance!</p>