Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Yes, it runs even so, but I think the circumstances are signs of a problem. Following I will explain with more details about this.
I had created a node (with a URL alias) and both a primary link and a link inside a left menu pointing to the URL alias of that node.
Then I resolved to modify the URL alias of the node and saved the change. I did the respective change of URL of primary link and it runs ok, but when I tried to modify the URL of link (on left menu) it didn't run. I saved the change but (it’s incredible) the link didn’t modify to new url alias data, the link was pointing the “old” url alias all time.
In the meantime, I changed the menu name as well. I don't know exactly when I did.
So I deleted that link and created a new link pointing to new url alias, but after the “save” it appeared the “old” url alias again (that link runs well because the “url_alias” table had that “old” reference).
I “resolved” this situation deleting the link (on menu) again e deleting the “old” url alias of “url_alias” table using phpmyadmin. So I created a new link and right now it runs perfectly.
I was thinking if Drupal could have a bug in those circumstances because Drupal created alone two URL references to the same node and because that link was always pointing to the “old” url alias.
Comments
duplicated url aliases are OK
It is not wrong at all. I had no problems using it at least.
Fabio
explaining more about the circumstances
Yes, it runs even so, but I think the circumstances are signs of a problem. Following I will explain with more details about this.
I had created a node (with a URL alias) and both a primary link and a link inside a left menu pointing to the URL alias of that node.
Then I resolved to modify the URL alias of the node and saved the change. I did the respective change of URL of primary link and it runs ok, but when I tried to modify the URL of link (on left menu) it didn't run. I saved the change but (it’s incredible) the link didn’t modify to new url alias data, the link was pointing the “old” url alias all time.
In the meantime, I changed the menu name as well. I don't know exactly when I did.
So I deleted that link and created a new link pointing to new url alias, but after the “save” it appeared the “old” url alias again (that link runs well because the “url_alias” table had that “old” reference).
I “resolved” this situation deleting the link (on menu) again e deleting the “old” url alias of “url_alias” table using phpmyadmin. So I created a new link and right now it runs perfectly.
I was thinking if Drupal could have a bug in those circumstances because Drupal created alone two URL references to the same node and because that link was always pointing to the “old” url alias.
Thanks!