I have a script in a directory that uses mod rewrite and wish to use a different set of rules for another directory and can't get it to work. RewriteEngine On RewriteBase /directory1/ RewriteRule ^index.html$ index.php Code (markup): How do I add a rule for another directory? Tried the following but really just trial and error and failing miserably. RewriteEngine On RewriteBase /directory1/ RewriteRule ^index.html$ index.php RewriteBase /directory2/ RewriteRule ^(.*)-page-(.*).php?$ page.php?title=$1&recordid=$2 [QSA,L] Code (markup): Any help greatly appreciated.