Hi, I've been puzzling over this all morning, can anyone give me a hand? I've got 2 dynamic urls that need to display static: www.mydomain.com/listings.php?state=DE&city=Bear needs to show www.mydomain.com/DE/Bear.php and www.mydomain.com/selectcity.php?state=DE needs to show www.mydomain.com/DE/selectcity.php Thanks a bunch, my head is about to explode! David
Here's a simple solution to your problem: RewriteRule (.*)/$ selectcity.php?state=$1 RewriteRule (.*)/(.*).php$ listings.php?state=$1&city=$2 Code (markup): Hope it helps, Cryo.
[QUOTE Neeraj Khichi]Hi, I've been puzzling over this all morning, can anyone give me a hand? I've got 2 dynamic urls that need to display static: http://www.mydomain.com/?page=home needs to show http://www.mydomain.com/ and http://www.mydomain.com/?page=sys needs to show http://www.mydomain.com/sys.html Thanks a bunch, my head is about to explode! Neeraj Khichi[/QUOTE] Plz. Let me Know About it as soon as.