What I'm trying to do is this -

Have various URLs such as this one

http://test.test.com/test/test/test?key=12345

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

https://testcenter.test.com/testcent...File&key=12345

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.