Hi folks,
I'm OK with simple mod_rewrite rules but this one has me stumped.
We have a page which can accept up to six querystring elements in order to filter what is displayed by price, category, subcategory, subsubcategory (yes, really), brand, and site area.
What we'd like to do is have some sort of mod_rewrite rule which allows us to go to, for example:
/brokerage/a1/p50/c3/sc10/ss15/b4
This would load:
/brokerage.php?area=1&price=50&category=3&subcategory=10&subsub=15&brand=4
But here's the kicker - these six querystring elements could appear in any order, and may not appear at all. The page displays everything to begin with and these options provide a drilldown function.
How on EARTH would I write a RewriteRule to cope with this?