Extract all dynamic URL data from the URL, and pass it as GET data to the current request.  The pages will now be able to use the dynamic data, just as they use other GET data.