I'm working on a WordPress site where the WordPress install is in a subdirectory. So, of course, I want to redirect most page requests into that subdirectory. That task is accomplished. The problem is in the exceptions. There is one other WordPress install that is used sporatically in its own subdirectory. And there are two sections with straight PHP coding in their own directories. The way I currently have the .htaccess, it is sending everything into the main WordPress install, and it doesn't seem possible to load the exceptions.
I have done a temporary fix by linking to the web host's temporary address, but that is a pretty clunky solution. I'm thinking that possibly I need to put the exceptions above the main redirect, but it seems odd to redirect something to itself.
Here is my current code. Please note that I have changed the directory names for the client's privacy.
# Redirect site into WordPress folder
RewriteCond %{REQUEST_URI} !^/WordPress/
# Rewrites all URLS [Replace "domain" with the actual domain, without the TLD (.com, .net, .biz, etc)]
RewriteCond %{HTTP_HOST} ^(www\.)?clientdomain\.
# Rewrite all those to insert /folder
RewriteRule ^(.*)$ /WordPress/$1 [L]