Let's say I have a redirect rule on the url example.com that redirects to newurl.net. How can I retrieve the url that redirects to newurl.net so I can use it and process it with some details or just print it to a new destination?
Thank you all for your help.