If the new alias is different from the original a 301 redirect post is also inserted into the path_redirect table.

I can see that this module's code calls pathauto_create_alias() but it is my understanding from various issues (and also from checking the pathauto and path_redirect modules' code) that calling this function does not invoke the path_redirect functionality that is triggered by editing a node manually (i.e. via nodeapi). I don't see any explicit code in url_alias_cleaner.module to do this so I would not expect 301 redirects to be created by URL alias cleaner?

Having said that, automatic bulk redirect creation is exactly what I need!

Comments

sp3boy’s picture

Having checked pathauto 6.x-2.x I think my understanding of whether a 301 redirect is created is now incorrect. The multi-node updates from /admin/content/node appear to honour the setting "Create a new alias. Redirect from old alias."

Project: » Lost & found issues

This issue’s project has disappeared. Most likely, it was a sandbox project, which can be deleted by its maintainer. See the Lost & found issues project page for more details. (The missing project ID was 1092978)