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.

All other Modules

Discuss all other Modules here.

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

Same URLSegment for a similar page in another language?


4 Posts   650 Views


13 December 2010 at 10:18pm (Last edited: 13 December 2010 10:18pm), Community Member, 1 Post

hello SilverStripe-community,

i'm actually working to get silverstripe running in different languages. the structure should look like this:
eg. -> /enu/shop/details/10 (english version)
and -> /deu/shop/details/10 (german version)

the first URLSegment ist for the language and the region.
i already found a solution getting these language-folders working. but now the problem is - silverstripe prevents duplicate URLSegments in the SiteTree-table.

now my question: where i can find the point where SS appends the "-de-DE" / "-2" at the URLSegment?

i'm using the actual silverstripe 2.4.3.

thanking you in anticipation!

kind regards,


10 August 2012 at 8:30am Community Member, 131 Posts


Did you find a solution for that? I am currently facing the same problem in 2.4.7


14 August 2012 at 8:28pm Community Member, 30 Posts

Hi, we had the same issue. As a workaround we just used one page in the pagetree root and put all other pages as childs. This "root page" has a custom pagetype "language". It has no content but the /en/ URL segment. Not the most elegant way but it works.


15 August 2012 at 5:10am Community Member, 131 Posts

Ok, so you put in the "en" from a custom field int your language pagetype, right? But that doesn't solves the problem with same URLSegments? Am I wrong?