This should be simple (I think) but I've been pulling my hair out fulltime on this for almost 2 days now. We are moving our site to a new server/host and have updated from an old asp shopping cart to php. The plan is to use 301 to preserve as much inlinks as possible.
The 1st rule gets processed perfectly. However the 2nd returns the same result as the 1st even though it should be going to a different directory.
RewriteEngine on
RewriteBase /
RewriteCond %{QUERY_STRING} ^ID=100$ [NC]
RewriteRule samepath/samefilename\.asp TLD/thisDir/? [R=301,L]
#
RewriteCond %{QUERY_STRING} ^ID=200$ [NC]
RewriteRule samepath/samefilename\.asp TLD/differentDir/? [R=301,L]
Please PLEASE help... oh and I'm running A2.x hosted at 1and1.com
* TLD = the complete top level domain url
** If I add another cond&rule but use either a different path or different filename (or both) that works fine.
Thanks
-Brian