What I'm trying to do is this -

Have various URLs such as this one


Redirect automatically, based on the key to another URL, ie -


The key number would vary and the redirect would always populate that number in the key number of the second URL

I work in a ColdFusion environment, but can use jscript, jquery, etc, if needed.

Any thoughts or help would be greatly appreciated.