title: redirecting urls with question mark
body: <p>I want to redirect:
  <a href="http://www.mydomain.com/myfolder/?5/my-page" rel="nofollow">http://www.mydomain.com/myfolder/?5/my-page</a>
  to:
  <a href="http://www.mydomain.com/myfolder/?5/page" rel="nofollow">http://www.mydomain.com/myfolder/?5/page</a></p>
  
  <p>a simple redirect in .htaccess doesn't seem to work:</p>
  
  <pre><code>Redirect 301 /myfolder/?5/my-page http://www.mydomain.com/myfolder/?5/page
  </code></pre>
  
  <p>I've searched around and found it must be because of the question mark.
  So after some searching I tried this:</p>
  
  <pre><code> RewriteCond %{QUERY_STRING} ^my-page
   RewriteRule ^my-page http://www.mydomain.com/myfolder/?5/page [L,R=301]
  </code></pre>
  
  <p>Which totally doesn't work either. I think I won't be able to solve it myself, and would like to ask if somebody else could lead me on a better path?</p>
  
  <p>Thanks in advance.</p>