Rewrite rule
Options +FollowSymlinks -MultiViews
RewriteEngine on
RewriteRule players/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/$ /players.php?$1=$2&$3=$4&$5=$6&$7=$8
URL
http://www.mysite.com/players.php?subcat3=5411&cat=9&fname=Dan&lname=Marino
This works fine and produces the following:
http://www.mysite.com/players/subcat3/586/cat/2/fname/Dan/lname/Marino/
but...if I add another variable to the url string and another Rewrite rule, I get a "Page not found"
Options +FollowSymlinks -MultiViews
RewriteEngine on
RewriteRule players/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/$ /players.php?$1=$2&$3=$4&$5=$6&$7=$8
RewriteRule players/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/$ /players.php?$1=$2&$3=$4&$5=$6&$7=$8&$9=$10
new URL (added the year variable)
http://www.fantasyplaymakers.com/players.php?subcat3=5411&cat=9&year=2006&fname=Dan&lname=Marino
What am I doing wrong here?
Thanks!!!