Make the user pass in the URL as an argument. The page can do the url query string stuff. This way you can have pages that have hardcoded URLs for repro cases/etc.