Paths change when group name changes
public
group: Groups.drupal.org
drewish - Thu, 2008-06-12 01:35
I was a bit annoyed to notice that someone had (helpfully?) renamed the Portland group to Portland (Oregon). Honestly it was a good change but the problem is that it broke the URL (portland -> portland-oregon) which we'd just gotten printed on a banner. Any way to disable that auto updating and get our old URL back?


Just thinking out loud, but
Just thinking out loud, but I think Pathauto 2.x doesn't remember if the "Automatic alias" checkbox was checked or not on the last node save and always defaults to the patterns set in the Pathauto settings. The group owner would need the "create path aliases" permission to override this on a per-node basis.
no issue here
pathauto is configured to leave the old alias in place and just create a new one based on the new title. drupal is choosing to use the new one for all its node links but the old alias stil works. we have not broken any links AFAICT.
We have broken links :(
"we have not broken any links AFAICT"
I was just looking into this earlier today and came upon this post. I recently changed the title of a group:
http://groups.drupal.org/node/275/revisions/view/29964/36244
It appears that we have lost the old path:
http://groups.drupal.org/events-in-drupal
http://groups.drupal.org/events-drupal
Both return a Page not found. :( (I'm 98% sure the top one was the old alias for the group, I just tried the 2nd one just in case)...
So, it does seem that we have a problem here. Not sure if it's a pathauto bug or a misconfiguration. Meanwhile, should we install http://drupal.org/project/path_redirect to add redirects manually for groups where we know the old alias has been lost?
Although the portland case works...
Hrm, I just tried and drewish's originally posted example actually works. All of these are valid and go to the same place:
http://groups.drupal.org/portland
http://groups.drupal.org/portland-oregon
http://groups.drupal.org/node/390
(Interestingly, the node/390 version doesn't show the group's little image up at the top).
Redirect manually added for the old alias
I just had a chat with Moshe and greggles in IRC. Greggles couldn't figure out what the problem was, so we decided:
dww: greggles: should i just manually add a redirect for the old event group URL and chalk it up to sun spots or *.d.o infra goblins?greggles: dww: I think that's the best call, yes
So, I just manually created the redirect for http://groups.drupal.org/events-in-drupal (since path_redirect is in fact already installed on g.d.o).
If anyone has trouble again, please reply here, otherwise, I guess if this was an issue, I'd mark it "Fixed".