RewriteLog /var/www/epp/logs/epp.rewrite.log RewriteLogLevel 9 RewriteEngine on RewriteCond %{REQUEST_URI} !\.(php|gif|jpg|html?|css|js|doc|pdf)$ RewriteRule ^/([^/]*)/?$ /index.php?epp=$1 [L] I compacted the rewrite conditions and simplified the regexp. I added a ^ to the start of the rewrite rule, and a /? at the end just in case the path ended in a /.
Uh Uh. Forgot to add the abbey stuff: RewriteLog /var/www/epp/logs/epp.rewrite.log RewriteLogLevel 9 RewriteEngine on RewriteCond %{REQUEST_URI} !\.(php|gif|jpg|html?|css|js|doc|pdf)$ RewriteCond %{REQUEST_URI} !abbey RewriteRule ^/([^/]*)/?$ /index.php?epp=$1 [L]