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

dave reid’s picture

Status: Active » Fixed

Please 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]

macmladen’s picture

While 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 alias but I would like to know what was/is really going on there?

Thanks for quick response :)

dave reid’s picture

Go 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.

macmladen’s picture

Yes, 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 with force update (should be also in drush capability.

Is there setting in database if individual aliases should be changed (setting Generate automatic URL alias) or it is decided by some other mechanism?

dave reid’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.