custom urlalias for each content object

Author Message

Jim Reverend

Friday 06 February 2004 7:45:21 am

By default, it seems that, when a node is created, an Internal URL alias is created for it as well, based on the name of the content object it points to. However, in some cases, a publisher may wish to have a different URL than a cleaned up version of that item's title. Is there a way to set the URL alias that will be established on a new content object when defining the contents of that object? What I'm imagining is, in the edit screen for, say, an "article", right next to "Title" and "Intro" and "Body" there would be a field for "URL Alias". If populated, that alias would be used. If not, the current method would take place. Is there a way to do this?

Eirik Alfstad Johansen

Monday 09 February 2004 12:45:22 am

Hi Jim,

Have you looked into the URL alias functionality? I realize it would be sligtly more time-consuming, but it might suit your needs. Also, you might be able to combin url alias and content publishing functionality.

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Balazs Halasy

Monday 09 February 2004 2:08:01 am

Jim,

This is not possible at the moment. However, it could be a neat thing to implement. It is possible to add new URL aliases - check the URL alias menu in admin -> setup. As for now, you could try to manipulate the database yourself - but only if you really really need to change the existing URL aliases. Hint: check the ezurlalias and the ezcontentobject_tree tables.

Balazs

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.