title: Replace URL String using .htaccess
body: <p>I'm trying to replace a string in my url from <code>?ref=</code> to <code>?tracking=</code>.</p>
  
  <p>My url looks something like this:</p>
  
  <p><code>http://mywebsite.com/store/index.php?route=product/product&amp;path=18_40&amp;product_id=214232?ref=12345</code></p>
  
  <p>and I want the link to read:</p>
  
  <p><code>https://vaulteksafe.com/store/index.php?route=product/product&amp;path=18_20&amp;product_id=214282?tracking=12345</code></p>
  
  <p>Keep in mind that the url changes per page. So the only thing I want changed is <code>?ref</code>.</p>
  
  <p>I'm familiar with the basics of .httaccess so I'm not sure if what I'm trying to accomplish is even possible. I have tried other code I have found here on stack overflow such as <code>RewriteCond %{QUERY_STRING}</code>, but none of it worked. </p>
  
  <p>Any help would be greatly appreciated, or feedback to whether or not what I am trying to do is possible. Thanks!</p>