title: .htaccess 301 redirect to site B with referrer from site A
body: <p>I am trying to make the following redirection with .htaccess</p>
  
  <pre><code>Redirect 301 pageA.php to https://newSite/pageB.php?referrer=pageA.php
  </code></pre>
  
  <p>I need the pageA.php to be redirected to another site along with a referrer from the origin site containing pageA.php</p>
  
  <p>Is there a way to do this in htaccess?</p>