Closed (fixed)
Project:
Pathauto
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 May 2012 at 11:47 UTC
Updated:
16 May 2012 at 11:30 UTC
I was fortunate enough to read comment 58 from [860082] and to see why my paths aren't build the way I wanted them:
[node:menu-link:parents:join:/]/[node:menu-link:title]... This 2nd method is working now on the new site, although I had to go into my Pathauto/URL Alias settings, and tell it to NOT remove the slash (/) from URL aliases, to really get it working properly.
I think it is a bug to remove join symbol so punctuation should be removed before applying join otherwise, it will either remove join symbol or fail to sanitize path.
Comments
Comment #1
dave reidPlease see #1517734: Pathauto strips special characters from inside tokens and update to Pathauto 7.x-1.x-dev, run update.php and then use [node:menu-link:parents:join-path]
Comment #2
macmladen commentedWhile on subject and not to open another duplicate issue, how can I force the change in URLs?
I changed path pattern and I wanted to apply that to all content but the only way I was able to do it was to delete all alias and then bulk update.
Could you add on bulk update checkbox to force update?
I'm not even sure how all terms and nodes lost automatic update and even wasn't able to find that field in MySQL, so that bulk update works on all nodes. It could be that pattern change did force all terms and nodes to loose
Generate automatic URL aliasbut I would like to know what was/is really going on there?Thanks for quick response :)
Comment #3
dave reidGo to admin/content/node and use the 'Update URL alias' action. This can also be used with Views Bulk Operations module with #1189844: Add hook_action_info() integration for use with Views Bulk Operations.
Comment #4
macmladen commentedYes, but that doesn't work for Terms or Users.
Besides, I still think that
'Update URL alias'should respect 'Generate automatic URL' setting on individual node/term/user/... unless being required withforce update(should be also indrushcapability.Is there setting in database if individual aliases should be changed (setting
Generate automatic URL alias) or it is decided by some other mechanism?Comment #5
dave reidThere is if you're using http://drupal.org/project/pathauto_persist. See also http://drupal.org/node/1167612