Re: URLNAME-MAPPINGS
Jochen Graf via opencms-dev <[email protected]> Tue, 11 Mar 2025 14:40:16 +0100
| Newsgroups | gmane.comp.cms.opencms.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Bernhard, regarding your question about "regenerating urlname-mappings": This is possible. There is a Property called "urlname.replace" you can set on a content or also on a content folder such as /.content/my-type/. If you (1) set "urlname.replace" to "true", (2) rewrite the content(s) [context menu entry "Advanced > Touch"], and (3) publish the rewritten content(s), all public URL names are renewed. If you want your public URL names always being renewed when publishing a content, simply keep the "urlname.replace=true" property; set it to "false" otherwise. Regarding the two detail pages on two different domains: your aim is to show the same content(s) on two different websites / detail pages, right? Maybe you want to move your contents into a shared folder such as /shared/my-contents/. Shared contents can be shown on any website / on any detail page. Best Jochen Am 09.03.25 um 23:34 schrieb Bernhard Zebedin via opencms-dev: > > Hello all. > > We habe a database with around 150.000 entries in the CMS_CONTENTS. > > This is a geo-database… everything works great so far, but I have some > problems at the moment. > > I have a mapping of the field to the urlname. This is good. But if I > change the field, the old value > stays in the urlmapping table. > > Is it possible to regenerate those urlname-mappings? At the moment I > delete wrong entries per hand. > > Is it possible to add aliase for detail sites? > > We have more than one domain running on this opencms-instance. > > On one domain we have: https://one.domain/folder/this-is-the-name > (/folder is a detail site configuration) > > And on another domain it would be nice to have the possibility to > configure another detail name > > e.g. https://another.domain/this-is-another-name > > on the second domain I configured the detail site directly on the root > level. > > And I do not want to have redirects configured. > > Kr > > Bernhard > > > _______________________________________________ > 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 > https://lists.opencms.org/mailman/listinfo/opencms-dev > > > -- Alkacon Software GmbH & Co. KG - The OpenCms Experts http://www.alkacon.com -http://www.opencms.org _______________________________________________ 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 https://lists.opencms.org/mailman/listinfo/opencms-dev