Thingmand
asked on
Disable mod_rewrite in folder
I have some mod_rewrite in a htaccess file to make pretty urls, but I would like to disable the function for a subfolder - how can I do that?
I have tried the following, but it doesn't change anything :(
I have tried the following, but it doesn't change anything :(
# Exclude mod_rewrite for WP
RewriteCond %{REQUEST_URI} !^/wordpress
# Rewrite for pretty url
RewriteRule ^([a-zA-Z0-9\-_/]+)$ /index.php?url=$1 [QSA]
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
these needs to go ahead of the RewriteRules for drupal.
ASKER
Drupal? Why are you talking about Drupal?
ASKER
Well, it works :)
RewriteRule ^wordpress - [L]
RewriteRule ^wordpress - [L]
no problem glad i could help. thanks