Problem facing using .htaccess file
Hi, I have two pages with same no of GET variables..URLs when no rewrite rule is being followed are
www.ludhianaweddings.com/vlist1.php?cat=ABC&scat=BCD
www.ludhianaweddings.com/vlist2.php?cat=ABC&area=DEFG
When i define a rewrite rule in .htaccess file it becomes
www.ludhianaweddings.com/ABC/BCD
www.ludhianaweddings.com/ABC/DEFG
and rewrite rules are
RewriteRule ^([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)$ vlist1.php?cat=$1&scat=$2 [QSA,L]
RewriteRule ^([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)$ vlist2.php?cat=$1&area=$2 [QSA,L]
My problem is if i want user to redirect to vlist2.php wiht the url www.ludhianaweddings.com/ABC/DEFG it redirects user to vlist1.php...How i can solve this problem ? Thanks a lot...
www.ludhianaweddings.com/vlist1.php?cat=ABC&scat=BCD
www.ludhianaweddings.com/vlist2.php?cat=ABC&area=DEFG
When i define a rewrite rule in .htaccess file it becomes
www.ludhianaweddings.com/ABC/BCD
www.ludhianaweddings.com/ABC/DEFG
and rewrite rules are
RewriteRule ^([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)$ vlist1.php?cat=$1&scat=$2 [QSA,L]
RewriteRule ^([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)$ vlist2.php?cat=$1&area=$2 [QSA,L]
My problem is if i want user to redirect to vlist2.php wiht the url www.ludhianaweddings.com/ABC/DEFG it redirects user to vlist1.php...How i can solve this problem ? Thanks a lot...