title: .htaccess redirect to external URL while hiding redirect
body: <p>I want to be able to redirect a domain pointed to my webhosting to an external domain. </p>
  
  <p>For example, I have this in my .htaccess:</p>
  
  <pre><code>RewriteCond %{HTTP:Host} ^(?:www\.)?mydomain\.example$ 
  RewriteRule ^(.*)$ http://myexternal.example/site [R=301,NC]
  </code></pre>
  
  <p>However, when I visit the domain, the URL in my address bar changes to <em><a href="http://myexternal.example/site" rel="noreferrer">http://myexternal.example/site</a></em>.</p>
  
  <p>How can I redirect without changing the URL?</p>
  
  <p>Is there another way around this? Do I need to use a frame/iframe?</p>