<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
h6
{mso-style-priority:9;
mso-style-link:"Überschrift 6 Zchn";
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:7.5pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.E-MailFormatvorlage18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.berschrift6Zchn
{mso-style-name:"Überschrift 6 Zchn";
mso-style-priority:9;
mso-style-link:"Überschrift 6";
font-family:"Calibri Light",sans-serif;
color:#1F3763;
mso-fareast-language:EN-US;}
span.E-MailFormatvorlage21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi Roman,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">that is very interesting. Could you please explain in short where one has to set the property to (I assume to the content element in .content folder) and which values are possible.<o:p></o:p></p>
<p class="MsoNormal">Thanks a lot.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best regards<o:p></o:p></p>
<p class="MsoNormal">Kai<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="mso-fareast-language:DE">Von:</span></b><span style="mso-fareast-language:DE"> opencms-dev-bounces@opencms.org <opencms-dev-bounces@opencms.org>
<b>Im Auftrag von </b>Roman Arkhipov<br>
<b>Gesendet:</b> Donnerstag, 14. Februar 2019 12:15<br>
<b>An:</b> opencms-dev@opencms.org<br>
<b>Betreff:</b> [opencms-dev] urlname.replace property<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB">Hello everyone,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Few days ago just find out that 'urlname.replace' property is very useful.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">If you have resources which title (our case) mapped to urlname and its property 'urlname.replace' not set up so each time when you change title you get a new mapping.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">So finally you get several urls referred to the same OpenCms resource.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Unfortunately I didn’t find it in docs but was lucky enough to find it in the code.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Best,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Roman Arkhipov<o:p></o:p></span></p>
<h6 style="margin-bottom:12.0pt"><span lang="EN-GB" style="font-family:"Arial",sans-serif;color:gray">Roman Arkhipov<br>
Developer<br>
<br>
Virtual Identity AG<br>
Grünwälderstraße 10-14<br>
79098 Freiburg<br>
<br>
t +49 761 20758-465<br>
f +49 761 20758-01<br>
m --<br>
<br>
<a href="mailto:roman.arkhipov@virtual-identity.com">roman.arkhipov@virtual-identity.com</a><br>
<a href="http://www.virtual-identity.com">http://www.virtual-identity.com</a><br>
<br>
Freiburg | München | Wien | Porto<br>
<br>
<br>
<br>
<o:p></o:p></span></h6>
<h6 align="center" style="text-align:center"><span lang="EN-GB" style="font-family:"Arial",sans-serif;color:gray">
<hr size="2" width="100%" align="center">
</span></h6>
<h6><span lang="EN-GB" style="font-family:"Arial",sans-serif;color:gray"><br>
Virtual Identity AG<br>
Grünwälderstraße 10-14<br>
79098 Freiburg<br>
Amtsgericht Freiburg, HRB 6218<br>
Vorstand: Ralf Heller<br>
Vorsitzende des Aufsichtsrates: Kirsten Heller<br>
Umsatzsteuer-ID: DE208002218 <o:p></o:p></span></h6>
</div>
</body>
</html>