[development] My first post: path_set_alias() and multiple aliases

Damien Tournoud damz at prealable.org
Fri Feb 20 18:05:53 UTC 2009


On Wed, Feb 18, 2009 at 11:19 PM, Nir Aides <nir at winpdb.org> wrote:

> Hi,
>
> path_set_alias($path, $alias) inserts a new alias in case there is already
> an alias for $path. However drupal_lookup_path() keeps picking up the old
> alias.
> It makes sense to keep the old alias so links don't break in a website, but
> why look up the old alias when generating a URL?
>

Please see http://drupal.org/node/358315

Damien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20090220/c26d2ed5/attachment.htm 


More information about the development mailing list