[opencms-dev] Opencms 10 url detail content name

Lucas Rol rolralu at gmail.com
Mon Dec 5 12:24:49 CET 2016


Hi all,

I have the following scenario using Opencms 10.0.1:

Two customized contents:

1-Name: london - Type: City - placed in: /.content/cities/ - Mapped to:
/en/cities/index.html (container page-detail page).

2-Name: london - Type: Hotel - placed in: /.content/hotels/ - Mapped to:
/en/hotels/index.html (container page-detail page).

Both have the title field mapped to urlname in xsd.

Once you click on each of them, the url name generated by Opencms is
correct for only one of the contents (www.myplace.com/en/cities/london/)
and Opencms adds a suffix at the end of the name of the second content,
though (www.myplace.com/en/hotels/london-001/). It seems as if opencms
would not allow(when mapping to url) having two resources with the same
name, even if they have different paths.

Is there any way to achieve this (no suffix addition, 2 contents with the
same name in different paths)?

Thanks in advance.

Lucas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20161205/0171e0dd/attachment.htm>


More information about the opencms-dev mailing list