Try our conversational search powered by Generative AI!

Can you change the default content routes in Episerver?

Vote:
 

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?

#181380
Aug 17, 2017 13:03
Vote:
 

outgoing route calculation I guess is also based on route tables, isn't?

#181400
Aug 17, 2017 20:13
Vote:
 

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

#181402
Aug 17, 2017 23:18
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.