title: Redirecting a Domain with a Get Variable to a New Domain with the htaccess file
body: <p>I am trying to send /bn/referral.php?id=xxxxx to <a href="https://www.newdomain.com/index.php?referral=xxxxx" rel="nofollow noreferrer">https://www.newdomain.com/index.php?referral=xxxxx</a></p>
  <p>I have it currently set up like this, with no luck:</p>
  <pre><code>RewriteRule ^/bn/referral.php?id=([0-9]+)$ https://www.newdomain.com/index.php?referral=$1 [NC,L]
  </code></pre>
  <p>Thanks in advance for any insight to this issue.</p>