Transform query string dynamically

Hello Guys,

I want to transfrom the following url : example.com/i/xxxxxx to example.com/i?url=xxxxxx
WHERE xxxxxx is random everytime. Can you help me with it? I tried so many examples but I can't figure it out.
Was this page helpful?