title: Redirect folder to another with htaccess
body: <p>I've got a problem with redirecting folder to a new one. I don't want to use php header() or something similar, i want to achieve this effect with mod_rewrite module and .htaccess file.</p>
  
  <p>The thing I'm trying to do is to redirect the <a href="http://domain.com/test/" rel="noreferrer">http://domain.com/test/</a> address to <a href="http://domain.com/new/" rel="noreferrer">http://domain.com/new/</a>. It's not rewriting, it has to just move the user from old to new address. I was trying to use:</p>
  
  <pre><code>RewriteRule ^test/(.*) new/$1
  </code></pre>
  
  <p>But it throws 404 error cause catalog test does not exists. 
  How can i redirect the user without creating another folder?</p>