Need a .htaccess reroute exception when dealing with authentication in a child directory
Posted
by Brandon G
on Server Fault
See other posts from Server Fault
or by Brandon G
Published on 2010-04-16T19:00:33Z
Indexed on
2010/04/16
19:03 UTC
Read the original article
Hit count: 249
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
I added authentication to a directory "/pb" off the root of this and I'm getting redirected. Is there any way I can add an exception to this rewrite rule to allow no rewrites when accessing /pb ?
Thanks!!
© Server Fault or respective owner