title: .htaccess exception for several subfolders
body: <p>I am having some troubles with my script..</p>
  
  <p>when I access <a href="http://www.domain.com/this-is-a-topic" rel="nofollow">http://www.domain.com/this-is-a-topic</a> I want it to redirect to <a href="http://www.domain.com/index.php?t=this-is-a-topic" rel="nofollow">http://www.domain.com/index.php?t=this-is-a-topic</a>... BUT when it says "administration", "sitemap" or some other things, I want it to look either another rewrite condition or simply just get <a href="http://www.domain.com/administration/" rel="nofollow">http://www.domain.com/administration/</a></p>
  
  <p>Here is my code:</p>
  
  <pre><code>RewriteCond %{REQUEST_URI} !(administration|sitemap)/(.*)\. [NC]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  
  
  # Dync links
  
  RewriteRule ^([a-zA-Z0-9-]+)/lang:([0-9]+)?$    index.php?t=$1&amp;l=$2 [L]
  RewriteRule ^lang:([0-9]+)?$                    index.php?l=$1 [L]
  
  
  RewriteRule ^sitemap/?$                         index.php?sitemap=sitemap [L]
  
  RewriteRule ^error/([0-9]+)?$                   index.php?error=$1
  RewriteRule ^([a-zA-Z0-9-]+)/?$             index.php?t=$1 
  </code></pre>
  
  <p>The problem is, that when I write /administration/ it goes to <a href="http://www.domain.com/index.php?t=/administration/" rel="nofollow">http://www.domain.com/index.php?t=/administration/</a> instead of going to <a href="http://www.domain.com/administration/index.php" rel="nofollow">http://www.domain.com/administration/index.php</a></p>