Great module. This is exactly what I need for a site I'm working on right now. I was going to write something like this myself, but luckily someone pointed out that this already exists (and works great). ;)
One UI improvement I'd like to make for my site is that on the node edit form, in the "URL path settings" fieldset, it'd be nice to add another text field called "URL redirect" or "Path redirect" or whatever, which is the old location of this node. It'd work much like the "add redirect" form at admin/build/path_redirect, but it would assume that the destination was url("node/$nid"). Does that make sense? Should I write this as a patch against path_redirect to contribute upstream, or should I just handle this via hook_form_alter() for my own site?
I guess the only complication is what happens if there are multiple redirects pointing to the same node? I guess this would have to be a variable number of text fields (sort of like the poll UI) in the general case...
Thoughts?
Thanks,
-Derek
Comments
Comment #1
HorsePunchKid commentedHi there, Derek. Please check out this issue and the possibly somewhat stale patch. I think it's not likely to make it into the next release, but I'll try to keep the patch current until it's ready to apply.
Comment #2
dwwSorry, I saw that issue title but didn't read the issue closely and thought they were talking about adding redirects at node/add as if they were their own node type, not another field on node/add/[foo] (and also, of course node/N/edit). ;)