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

greggles’s picture

Status: Active » Fixed

You 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 ;)

robb’s picture

Version: 5.x-2.2 » 7.x-1.x-dev
Status: Fixed » Active

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

  • Path auto General settings, Update set to Do nothing. Leave the old alias intact.
  • Delete the url_alias entries associated with the node
  • Edit the node
  • Check the Pathauto automatic check box (it is checked by default for me)
  • Save
  • NO path alias was created

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.

greggles’s picture

I 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?

robb’s picture

gads - mis-post - I hate that, sorry.

airali’s picture

Sorry, 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.

airali’s picture

Status: Active » Closed (won't fix)

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

robb’s picture

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