title: Rewrite all to 1 domain except Joomla administrator
body: <p>I have a website that has 10 domain pointers they all point to the master-domain. I use this code in the .htaccess</p>
  
  <pre><code>RewriteEngine On 
  RewriteBase / 
  RewriteCond %{HTTP_HOST} !masterdomain.com$ [NC] 
  RewriteRule ^(.*)$ https://masterdomain.com/$1 [L,R=301] [R,L]
  </code></pre>
  
  <p>It works but I want <a href="https://masterdomain.com/administrator" rel="nofollow noreferrer">https://masterdomain.com/administrator</a> to point to <a href="https://licencepointerdomain.com/administrator/" rel="nofollow noreferrer">https://licencepointerdomain.com/administrator/</a>* </p>
  
  <p>I tried :</p>
  
  <pre><code>RewriteEngine On 
  RewriteBase / 
  RewriteCond %{HTTP_HOST} ! masterdomain.com$ [NC] 
  RewriteCond %{REQUEST_URI} !^/administrator/?$ [NC]
  RewriteRule ^(.*)$ https://masterdomain.com/$1 [L,R=301] [R,L]
  </code></pre>
  
  <p>what am I doing wrong here?</p>