Posted by sp3boy on August 10, 2011 at 3:26pm
1 follower
Jump to:
| Project: | URL Alias Cleaner |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
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
#1
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."