I need to adjust a regex within an .htaccess file (for a wordpress site) to make mod_rewrite not only ignore my "wiki" directory, but also ignore all directories within "wiki". Here's the code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/(wiki|wiki/.*)$
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Many thanks in advance for any help!
Simon
P.S.-I first learned how to exclude the wiki directory from the tip on this site: http://www.jfoobar.org/labs/code-snippets/96-exclude-folder-from-htaccess-rewrites.html