Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm using pathauto module in drupal 6 site.when i saved a park in one location with the same name in other location it overwrites it url and its showing only one park.
E.g:
1.Gandhiji Park (In chennai,Tamilnadu,India)(nid - 7)
2.Gandhiji Park (In Allur,Andhara Pradesh,India)(nid - 8)
When saving the second node(nid - 8) it took me to the to the first one(nid - 7).Even I search for the first one it only shows the second one in search filter results.
I couldn't find the error..Could anyone help me in this,please...
Thanks in advance.
Comments
Comment #1
Aamuktha CreditAttribution: Aamuktha commentedAnyone getting this type of problem?
Comment #2
__Sander__ CreditAttribution: __Sander__ commentedHad the same problem.
Some old node were language-neutral, the new ones have a language (no multilanguage on the site, it just happened somehow).
Pathauto when creating alises somehow compares the languages.
The nodes with the same name, but one
If the old node has no language and the new one has, then it won't locate the old alias and dublicates it.
For a quick solution I modified the code