I'm new to mod_rewrite and have just been going by trial and error so far, I'd like to redirect all URL requests to /drupal-6.13/ and hide the /drupal-6.13/, but if the URL is www.site.com/wiki not to rewrite anything. I'm also using the pathauto mod in drupal to create /content/title links for story content. I think it's the last section in the top and bottom htaccess that's rewriting the url, because www.iamthelaw.net/wiki gets rewritten as http://www.iamthelaw.net/wiki/?q=wiki, but if I try removing them the admin links and content links no longer work. Is there anything I can add without taking out what's currently there to override just for the /wiki/ requests?
here's the htacess in the top level:
Options -Indexes
RewriteEngine on
Options +FollowSymLinks
#site
RewriteCond %{HTTP_HOST} ^www\.iamthelaw\.net$ [NC]
RewriteCond %{REQUEST_URI} !^/drupal-6.13
RewriteRule ^$ /drupal-6.13/index.php [L]
#files
RewriteCond %{HTTP_HOST} ^www\.iamthelaw\.net$ [NC]
RewriteCond %{REQUEST_URI} ^.*\.(jpg|jpeg|gif|png|css|js|pl|txt)$
RewriteCond %{REQUEST_URI} !^/drupal-6.13/
RewriteRule ^(.*)$ /drupal-6.13/$1 [L,QSA]
#url 's
RewriteCond %{HTTP_HOST} ^www\.iamthelaw\.net$ [NC]
RewriteCond %{REQUEST_URI} !^/drupal-6.13
RewriteRule ^(.*)$ /drupal-6.13/index.php?q=$1 [L,QSA]
and in the rewrite section of the htacess in the subfolder /drupal-6.13/:
# Various rewrite rules.
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /drupal-6.13
# Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ /drupal-6.13/index.php?q=$1 [L,QSA]
</IfModule>