title: Only rewrite when domain only
body: <p>I want to only write the domain then the domian itself it requested and not to rewrite when there are any subdirectories.</p>
  
  <p>So when accessing </p>
  
  <pre><code>example.com
  </code></pre>
  
  <p>you sent to </p>
  
  <pre><code>example.com/fr
  </code></pre>
  
  <p>but when you go to </p>
  
  <pre><code>example.com/albums
  </code></pre>
  
  <p>you get taken to </p>
  
  <pre><code>example.com/albums
  </code></pre>
  
  <p>not </p>
  
  <pre><code>example.com/fr/albums
  </code></pre>
  
  <p>which is what is happening with </p>
  
  <pre><code>RewriteCond %{HTTP_HOST} ^www.example.fr [NC]
  RewriteRule ^(.*)$ http://www.example.fr/fr/$1 [L,R=301,NC]
  </code></pre>