alkacon / opencms-core

The Java open source content management system by Alkacon Software
http://www.opencms.org
GNU Lesser General Public License v2.1
520 stars 575 forks source link

CMS_ONLINE_URLNAME_MAPPINGS should distinguish name mapping by siteroot #765

Closed tobias-karrer closed 9 months ago

tobias-karrer commented 1 year ago

We had following problem with mapping of detail page urls:

On a OpenCms multi site setup for several railway companies, serveral of them use "Grooved Rail Tournouts".

As NAME needs to be unique this results in urls like

So just one company can use the "nice" name.

By using siteroot the same way as done for locales it would be possible all companies use "Grooved-Rail-Turnouts"

gWestenberger commented 9 months ago

This would be complicated to implement and not backward compatible (currently, you can have 'cross-site' detail pages, i.e. display a detail content in site A on a detail page in site B if your system is configured appropriately).