How do I ignore a directory in mod_rewrite?
Posted
by eddowding
on Stack Overflow
See other posts from Stack Overflow
or by eddowding
Published on 2008-10-02T16:23:38Z
Indexed on
2010/04/19
1:33 UTC
Read the original article
Hit count: 244
apache
|mod-rewrite
I'm trying to have the modrewrite rules skip the directory vip
. I've tried a number of things as you can see below, but to no avail.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
#RewriteRule ^vip$ - [PT]
RewriteRule ^vip/.$ - [PT]
#RewriteCond %{REQUEST_URI} !/vip
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
How do I get modrewrite to entirely ignore the /vip/
directory so that all requests pass directly to the folder?
© Stack Overflow or respective owner