title: How to Hide multiple folder with htaccess?
body: <p>Hi I need some htaccess help
  Here is my website directory structure</p>
  
  <pre><code>www.domain.com/sites/folderone/index.php
  www.domain.com/sites/foldertwo/index.php
  www.domain.com/sites/folderthree/index.php
  </code></pre>
  
  <p>Now what i want is hide the folderone,foldertwo and folderthree </p>
  
  <p>So i made this htaccess and placed under /sites directory</p>
  
  <pre><code>-----------------------------
  RewriteBase /
  
  # Add trailing slash if path does not contain a period or end with a slash
  RewriteCond %{REQUEST_URI} !(\.|/$)
  RewriteRule (.*) http://www.domain.com/$1/ [R=301,L]
  
  #Change http://domain.com to http://www.domain.com (Optional)
  RewriteCond %{HTTP_HOST} ^domain.com$
  RewriteRule ^/?(.*)$ http://www.domain.com/$1 [R=301,L]
  
  
  #Rewrites http://www.domain.com/folderone to http://www.domain.com/
  RewriteCond %{REQUEST_URI} !^/folderone
  RewriteRule ^(.*)$ folderone/$1 [L]
  
  
  --------------------------------------------------
  </code></pre>
  
  <p>Now the problem with this code i am only able to hide this folderone 
  I want to know what can i append unlimited directory there like folderone,foldertwo and folderthree and so on ?</p>
  
  <p>Can anyone help me with this ?</p>