Forum Moderators: phranque
I currently have:
---
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME}!-f
RewriteCond %{REQUEST_FILENAME}!-d
RewriteRule .* /index.php [L]
---
How to do the same ReWriteRule, but only doing it when the 1st folder is NOT a directory, like "testfolder".
IE: example.com/testfolder, do not apply rewrite rule to that directory, or anything following that directory, BUT have it do the rewrite for everything else?
Any suggestions? Thanks so much!
RewriteCond %{REQUEST_URI} !^/testfolder
Flush your browser cache before testing any change to your .htaccess or server config files.
For more information, see the documents cited in our forum charter [webmasterworld.com] and the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com].
Jim