title: Difficulties to correctly apply a htaccess RewriteRule
body: <p>I've got this code in my .htaccess file:</p>
  
  <pre><code>RewriteEngine on
  RewriteBase /testsite/
  RewriteRule ^admin/(.*) administrator/$1
  RewriteCond %{THE_REQUEST} ^GET\ /^administrator/
  RewriteRule ^administrator/(.*) admin/$1 [L,R=301] 
  </code></pre>
  
  <hr>
  
  <p><strong>Working</strong></p>
  
  <p>My actual URL is: <code>http://localhost/mysite/administrator/</code></p>
  
  <p>When I type <code>http://localhost/mysite/admin</code> it's retrieving the correct page.</p>
  
  <hr>
  
  <p><strong>Failing</strong></p>
  
  <p>When I try to request the page using <code>http://localhost/mysite/administrator/</code>, it should apply a rewrite to <code>http://localhost/mysite/admin</code>, but no avail.</p>
  
  <p>Seems that redirecting is working, but rewriting isn't.<br>
  Any help on this?</p>