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 -
...