This question is somewhat similar to How to redirect based on views results? which I think gives me part of the answer I want. Basically my situation is this:
I am migrating from an old xoops system which had its own set of content ids. I want to seamlessly make the switch to this new drupal system, meaning the old urls work, but redirect to their new pathauto equivalents.
By way of explanation, say the old url was /view.php?docid=6252
and the new address should be /pubs/capacity_building_climate_change_impact_assessment
which has been generated by pathauto.
I can do a redirect at the web server level to get from /view.php?docid=6252' to
/pub/6252`.
I have brought over the legacy document id, as a field on the new nodes, and I have a view working where I can visit /pub/6252 and get the right content. Now I want to make sure that the pathauto url is the definitive one url to rule them all for that particular node. How can I redirect to the proper url based on that url segment matching the legacy document id field in a node. It would be nice if it could be done without bringing all of the overhead of a views lookup into it, but if redirecting from that view is the best way, so be it. Hopefully I can aggressively cache that view since that data should almost never change.
I downloaded the Redirect module, hoping that it provided some of that, especially since it claims integration with the views api, but I didn't immediately see anything helpful there, and there doesn't seem to be any documentation for it.