title: Remove special character ? from url with .htaccess
body: <p>I would like to redirect this url:</p>
  
  <p><a href="http://www.domena.pl/?tekst,123.html" rel="nofollow">http://www.domena.pl/?tekst,123.html</a></p>
  
  <p>to this</p>
  
  <p><a href="http://www.domena.pl/tekst,123.html" rel="nofollow">http://www.domena.pl/tekst,123.html</a></p>
  
  <p>I just want to remove ? after first /, so I would like to redirect every url domena/?...... to domena/......</p>
  
  <p>I was using this htaccess and it works for domena/testtekst,123, but I don't know how I should change it to work with special character ?</p>
  
  <pre><code>RewriteCond %{HTTP_HOST} ^www.domena.pl$
  RewriteCond %{REQUEST_URI} ^/test(.*)$
  RewriteRule ^test(.*)$ http://www.domena.pl/$1 [L,R=301] 
  </code></pre>
  
  <p>This does not work:</p>
  
  <pre><code>RewriteCond %{HTTP_HOST} ^www.domena.pl$
  RewriteCond %{REQUEST_URI} ^/?(.*)$
  RewriteRule ^?(.*)$ http://www.domena.pl/$1 [L,R=301] 
  </code></pre>
  
  <p>and this doesn't work too:</p>
  
  <pre><code>RewriteCond %{HTTP_HOST} ^www.domena.pl$
  RewriteCond %{REQUEST_URI} ^/\?(.*)$
  RewriteRule ^\?(.*)$ http://www.domena.pl/$1 [L,R=301] 
  </code></pre>