By default - EPiserver maps content using a route /{lang}/{node}{action} - with {lang} being the optional language segment, {node} being the content url hierarchy calculated from the page tree and {action} being the controller action which has a default of "Index"
Can you modify the order of these?
Ideally I'd like a route structure of
{node}/{lang}/{action}
Is this possible? (I think it probably is as I imagine I can add or remove entries from the routetable). Would this have any other impact?
If I will be inheriting my pages from an interface, I think this can be done by partial routing, if I am understanding it correctly. I partial router can do this job for you
By default - EPiserver maps content using a route /{lang}/{node}{action} - with {lang} being the optional language segment, {node} being the content url hierarchy calculated from the page tree and {action} being the controller action which has a default of "Index"
Can you modify the order of these?
Ideally I'd like a route structure of
{node}/{lang}/{action}
Is this possible? (I think it probably is as I imagine I can add or remove entries from the routetable). Would this have any other impact?