title: Wordpress .htaccess preventing sub folder from rewriting its own urls
body: <p>So I have been looking all over for a while, and cannot seem to find a particular solution I am looking for. I have seen many articles showing how to fix problems with wordpress rewrite, but none fix my problem.</p>
  
  <p>I currently have Wordpress Installed in my / Root directory. the .htaccess looks like this.</p>
  
  <pre><code># BEGIN WordPress
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  RewriteRule ^manager - [L,NC] &lt;-- I added this from other examples.
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  &lt;/IfModule&gt;
  # END WordPress
  </code></pre>
  
  <p>So from what I can tell this tells wordpress, hey you will handle all the urls, for everything. forever. Seriously. For ever and everywhere :P</p>
  
  <p>So the problem comes when I have a sub directory site.com/manager</p>
  
  <p>Here I would like to build a similar URL capturing method to manage what the user gets to see/access/etc. The line I added to the root .htaccess file (from what I have read) is suppose to tell wordpress, hey don't touch my damn /manager folder.</p>
  
  <p>Wordpress being the sneaky greedy caregiver that it is fails to listen. ill go to test my site.com/manager/test (grabbing test and pulling info from sql with it) and wordpress takes over and throws me to the wordpress 404 page.</p>
  
  <p>my .htaccess in /manager is as follows for refrence, I am thinking I will need to do some rewrite stuffs here too, but for now just trying to prevent wordpress from being over bearing :).</p>
  
  <pre><code>DirectoryIndex index.php
  &lt;FilesMatch "\.(php|inc)$"&gt;
  Order allow,deny
  deny from all
  &lt;/FilesMatch&gt;
  &lt;FilesMatch "(index.php|logout.php)$"&gt;
  Order allow,deny
  allow from all
  &lt;/FilesMatch&gt;
  </code></pre>
  
  <p>Any ideas, thoughts, comments, concerns would be much appreciated.</p>
  
  <p>Thank you.</p>