Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

SS3 - adding another param to url $Params['AntherID']

Go to End

3 Posts   884 Views


Community Member, 244 Posts

25 August 2012 at 4:45pm


I've got a new SS3 site, which has a set up this this Zealand/Wellington/12332

eg: page / action / id / otherid / anotherid

I've tried numerous ways of adding another id to the end of the url, but it's all failing - either with page not found or other errors.

Does any one know a way of doing this?




Community Member, 473 Posts

25 August 2012 at 5:09pm


public static $url_handlers = array(
		'$Action//$ID/$OtherID/$AnotherID' => 'handleAction',

to your Controller subclass.


Community Member, 244 Posts

25 August 2012 at 5:53pm

Thanks for that - I was trying similar things, but mustn't have been quite right.
work now -- many thanks!