2
# 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!!

Brandon G
  • 153
  • 5

1 Answers1

1

Add RewriteCond $1 !^(/pb) right after RewriteBase

solefald
  • 2,301
  • 15
  • 14