title: issue with url parameters in htaccess
body: <pre><code>RewriteRule ^/pages/topic\.php?tag=$1 /topics/([^/]+) [R=301,L]
  
  RewriteRule ^topics/([^/]+)/?$  /pages/topic.php?tag=$1 [END]
  </code></pre>
  <p>My problem is with the 301 redirect, I believe the problem is with the <code>tag=$1</code> and <code>/([^/]+)</code> I'm not entirely sure I've done this correctly, My desired result is that when the user navigates to <code>/pages/topic.php?tag=cryptocom</code> that the user is then redirected to <code>/topics/cryptocom/</code> Thanks for your help.</p>