title: .htaccess : how to redirect folder to his subfolder?
body: <p>I have a web page and his url is <a href="http://wwww.example.com/category/door/" rel="nofollow">http://wwww.example.com/category/door/</a></p>
  
  <p>But I want to redirect (301) the <a href="http://www.example.com/category/" rel="nofollow">http://www.example.com/category/</a> to <a href="http://www.example.com/category/door/" rel="nofollow">http://www.example.com/category/door/</a> because the content of <a href="http://www.example.com/category/" rel="nofollow">http://www.example.com/category/</a> is empty.</p>
  
  <p>My rewrite rule is the follow :</p>
  
  <pre><code>RedirectPermanent /category/ /category/door/
  </code></pre>
  
  <p>But it doesn't work, because the browser redirect <a href="http://www.example.com/category/" rel="nofollow">http://www.example.com/category/</a> to <a href="http://www.example.com/category/door/door/door/door/door/door/door/door/" rel="nofollow">http://www.example.com/category/door/door/door/door/door/door/door/door/</a> infinitely. </p>
  
  <p>An idea ? Thank you.</p>