title: Rewrite GET Query String using .htaccess
body: <p>I want to <code>Rewrite</code> my <code>GET Query String</code> from this -<br></p>
  
  <pre><code>http://www.example.com/verify.php?key=547b52f2b5d20d258e62de1e27b55c
  </code></pre>
  
  <p>to this</p>
  
  <pre><code>http://www.example.com/verify/547b52f2b5d20d258e62de1e27b55c
  </code></pre>
  
  <p>I am using the following rule but it does not seem to work -</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(([A-Za-z0-9\-]+/)*[A-Za-z0-9\-]+)?$ $1.php
  
  RewriteRule    ^[A-Za-z-]+/([A-Za-z0-9-]+)/?$    verify.php?key=$1    [NC,L]
  </code></pre>