wwfc_barmy_army Posted June 6, 2009 Share Posted June 6, 2009 Hello everyone. Basically I have this htaccess rule: RewriteEngine On RewriteRule ^([^/]+)?/?$ index.php?do=$1 [L,QSA] But when i go to any of the following it runs the rule -mydomain.com/adirectory -mydomain.com/adirectory/ But this loads like it should: -mydomain.com/adirectory/index.php Can i give exceptions to the rule for certain domains so for example -mydomain.com/adirectory goes to the subdirectory rather than following the htaccess rule? Thanks. Link to comment https://forums.phpfreaks.com/topic/161195-mod-rewrite-except-certain-directories/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.