htaccess url rewrite
- by user761396
i used to have a rewrite rule to
RewriteRule ^([^/]+)\.htm$ index.php?c=$1 [NC]
RewriteRule ^([^/]+)\.htm/([0-9.]+)$ index.php?c=$1&amt=$2 [NC]
now, i have to change to
RewriteRule ^1/([^/]+)\.htm$ index.php?c=$1 [NC]
RewriteRule ^1/([^/]+)\.htm/([0-9.]+)$ index.php?c=$1&amt=$2 [NC]
RewriteRule ^2/([^/]+)\.htm$ index2.php?c=$1 [NC]
RewriteRule ^2/([^/]+)\.htm/([0-9.]+)$ index2.php?c=$1&amt=$2 [NC]
(the difference is adding a subdirectory)
my question is how to redirect my old ones to the 1/ subdirectory?
thank you