Do you know the
param1/param2 in advance? Or can they be anything?
that would be dynamic so I do not know those
so is any reverse URL routing possible in SilverStripe to achieve this?
PFA, Need to convert the URL http://localhost/projectname/[URLSegment]/[Action]/[ID]/[OtherID] TO http://localhost/projectname/[ID]/[OtherID]
@Murugadoss has joined the channel
What function do the ID / OtherID have on the page?
Are you only ever going to perform one action? (eg. display something)... I'm still not entirely understanding the end-result here.
You can set up routing rules in the page controller for the page class in question, and on the face of it, that should work... but I may still be missing something
In theory you can just handle all interactions for the page in a single controller method (eg.
index()) and take actions based on the presence (or otherwise) of the ID and OtherID