[eluser]Deadly[/eluser]
This comes close to solving an issue I've been dealing with, both in use of ExpressionEngine and CI. Is anyone trying to handle a variable depth of segments? For example, if my URI looks like:
Code:
/country/city/category/subcategory/subcategory2/entrydetail
how does one accommodate for that, without creating an unwieldy cluster of conditionals to match against all of the various combinations?
Edit: more context: the URIs below could be equally possible, given the entry's attributes:
Code:
/country/city/category/entrydetail
or
Code:
/city/category/entrydetail
or
Code:
/country/city/category/subcategory/entrydetail