vouzamo
01-14-2011, 04:05 PM
How can I use the following url structure:
/{category_level1}/{category_level2}/{category_level3}/{category_level_n}
Where the structure is based on navigating down a hierarchy stored in a database and a user can remove a category level from the path to move back up the hierarchy.
I want to use this structure for an eCommerce site with the following example url:
/electrical/televisions/sony+bravia+40+inch+1080p/
Where removing /sony+bravia+40+inch+1080p/ would call a controller and action for listing electrical/televisions.
Not sure whether to use MVC2 Routing, Url rewriting etc.
/{category_level1}/{category_level2}/{category_level3}/{category_level_n}
Where the structure is based on navigating down a hierarchy stored in a database and a user can remove a category level from the path to move back up the hierarchy.
I want to use this structure for an eCommerce site with the following example url:
/electrical/televisions/sony+bravia+40+inch+1080p/
Where removing /sony+bravia+40+inch+1080p/ would call a controller and action for listing electrical/televisions.
Not sure whether to use MVC2 Routing, Url rewriting etc.