title: Redirect all traffic to temporary domain with 307 redirection
body: <p>I'm trying to redirect the traffic to my temporary adress. Im using httaccess file to do that. That's the content of it:</p>
  
  <pre><code>RewriteEngine on
  RewriteCond %{HTTP_HOST} ^old.domain$
  RewriteRule (.*)$ http://new.domain/$1 [R=307, L]
  </code></pre>
  
  <p>It works if I enter adress: <a href="http://old.domain" rel="noreferrer">http://old.domain</a> but it won't work with <a href="http://old.domain/somenting" rel="noreferrer">http://old.domain/somenting</a>. It sends then 500 error. If I change R=307 to R=301 it works but I need 307 redirection. </p>