[opencms-dev] use filename as url instead of standard url mapping for detail pages
Schliemann, Kai
K.Schliemann at comundus.com
Tue Jun 30 09:06:58 CEST 2015
Hi Marc,
did you try removing the mapping of a property to the urlname in your xsd?
<mappings>
<mapping element="Headline" mapto="urlName"/>
</mappings>
HTH
Best regards
Kai
-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Marc Johnen
Gesendet: Montag, 29. Juni 2015 22:31
An: opencms-dev at opencms.org
Betreff: [opencms-dev] use filename as url instead of standard url mapping for detail pages
Hi everyone,
is it possible to use the file name including path as url instead of the (rather new mapping) for detail pages?
I tried using a macro %(request.uri) as urlName, which does not work.
I found similar questions in the forum, but no solution. For the migration of an old website, I need to keep the old url's instead of using rewrites for ranking purposes.
Thankful for any hints
-----
Greetings
Marc Johnen
http://www.johnen.biz
--
View this message in context: http://opencms.996256.n3.nabble.com/use-filename-as-url-instead-of-standard-url-mapping-for-detail-pages-tp25504.html
Sent from the OpenCMS mailing list archive at Nabble.com.
_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list