in reply to How to find the url turned to

If you're talking about an HTTP redirect,
$res->request->uri

Completely misread.