title: Change Query String using HTACCESS?
body: <p>How do I change the query from </p>
  
  <pre><code>https://www.example.com/page.php?foo=bar
  </code></pre>
  
  <p>to</p>
  
  <pre><code>https://www.example.com/page.php?foo=something
  </code></pre>
  
  <p>just using htaccess ?</p>
  
  <p>I had tried :</p>
  
  <pre><code>RewriteCond %{QUERY_STRING} foo\=bar$ [QSR]
  RewriteRule page\.php\?foo\=bar$ page\.php\?foo\=baz [L,R=301] 
  </code></pre>
  
  <p>not not working, testing it in the online htaccess tester -- <a href="https://htaccess.mwl.be/" rel="nofollow noreferrer">https://htaccess.mwl.be/</a></p>