Closed (won't fix)
Project:
Pathauto
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Jun 2008 at 23:21 UTC
Updated:
29 Jun 2008 at 16:50 UTC
The first time I installed the module, I checked "Bulk generate aliases for nodes that are not aliased", and the aliases were actually created.
But when I changed the default url for node-types, and saved changes, the aliases didn't change.
..What happened?!?
Comments
Comment #1
gregglesYou have to delete them and then regenerate them. Please read the upgrade guide which is linked from the project home page. It's useful for new users as well ;)
Comment #2
robb commentedThanks for the quick response, I read the instructions again but still had the problem.
I am using Path Auto 6.x.2 on a new (non-ported) Drupal 6 installation.
With my patch the code now seems to match the help description. If an alias exists then NOTHING is done, otherwise an alias is created.
It has been a long day, so I am probably missing something very obvious.
Comment #3
gregglesI think I gave you partially wrong instructions in #1 - I was assuming that you wanted to bulk generate your old aliases. The bulk generate process only creates aliases for objects that have none, so you have to delete any "bad" aliases prior to doing the bulk generate.
But, I think the more important factor here is that if you use "Do nothing. Leave the old alias intact." then Pathauto will "do nothing". Does that help?
Comment #4
robb commentedgads - mis-post - I hate that, sorry.
Comment #5
airali commentedSorry, but the problem remains even if I set "Delete old alias" in General Settings.
The new paths I choose works only in NEW nodes I create. The others aren't updated.
Comment #6
airali commentedI read that it's impossible to change aliases in path settings once configurated. If you change them, only new nodes will have the new alias.
I had to delete all aliases and configure them again.
To delete all aliases: go to admin/build/path/delete_bulk. It's in path module settings, but the "delete all aliases" tab works only if you also have pathauto module.
Comment #7
robb commentedI submitted a patch (http://drupal.org/node/228762#comment-894497) that helped me deal with this issue. I have not heard too many comments regarding the patch itself but it is working for me.