title: Removing GET parameter in .htaccess and get 2 URLs
body: <p>I have this kind of URL:</p>
  <pre><code>http://www.example.com/index.php?page=contest&amp;contest=this-one-contest
  </code></pre>
  <p>i'm trying to get 2 functioning urls here.</p>
  <ol>
  <li><p>What I'm trying to do is to get this kind of URL:</p>
  <p><a href="http://www.example.com/contest" rel="nofollow noreferrer">http://www.example.com/contest</a></p>
  </li>
  </ol>
  <p>Which is already done using this htaccess rewrite rule</p>
  <pre><code>RewriteRule ^([a-z_-]+)/([a-zA-Z0-9_-]+)$ index.php?page=$1 [L,QSA]
  RewriteRule ^([a-z_-]+)$ index.php?page=$1 [L,QSA]
  RewriteRule ^([a-z_-]+)/$ index.php?page=$1 [L,QSA]
  </code></pre>
  <ol start="2">
  <li><p>What I'm trying to do is to get this kind of URL in the second URL:</p>
  <p><a href="http://www.example.com/contest/this-one-contest" rel="nofollow noreferrer">http://www.example.com/contest/this-one-contest</a></p>
  </li>
  </ol>
  <p>I don't Know if this is even possible using htaccess, and I don't want to create a new folder called &quot;contest&quot;.</p>
  <p>I have tried this already, but it's not still working.</p>
  <pre><code>RewriteRule ^([a-z_-]+)contest/([a-zA-Z0-9_-]+)$ index.php?page=$1&amp;contest=$2 [L,QSA]
  RewriteRule ^([a-z_-]+)contest/$ index.php?page=$1 [L,QSA]
  RewriteRule ^([a-z_-]+)contest/$ index.php?page=$1 [L,QSA]
  </code></pre>