Closed (fixed)
Project:
Path
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2008 at 13:16 UTC
Updated:
23 Mar 2010 at 13:09 UTC
It would be a good feature if the urlalias are orderable, aka weight in menu. So if you have more then on alias for a node you can choose the preferred alias. It would be also easier to rename nodes who are in the cache of a searchengine.
Maybe a easy way would be column weigth in table 'url_alias'. And on load "ORDER BY weight "
Comments
Comment #1
micheI agree. Every alias gets a 'pid'. If you set your Path configurations to keep old alias and add new alias, AND have GlobalRedirect installed, your new aliases never get used.
I propose a change in drupal_lookup_path. When fetching available aliases, although several might get returned, it only grabs the top one (due to db_result). Since the query is only sorting on language, it is possible you get get an old one.
OLD CODE
NEW CODE
So, your request to have a weight column could be solved with the current schema if you knew that the most recent alias was going to be used.
Does anyone have a reason why this would be a bad idea?
Comment #2
micheThis has been resolved in 6.16! http://drupal.org/node/358315